Commit 4c58b6cf authored by Ray Koopa's avatar Ray Koopa

Tiny clean-ups.

parent 2a13bf8f
......@@ -32,8 +32,8 @@ namespace Syroot.BinaryData.Memory
{
_reverseEndian = !endian.IsSystem();
_encoding = encoding ?? Encoding.UTF8;
Span = span;
Position = 0;
Span = span;
}
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
......
......@@ -9,7 +9,7 @@ using Syroot.BinaryData.Core;
namespace Syroot.BinaryData.Memory
{
/// <summary>
/// Represents a cursor into a <see cref="Span{Byte}"/> at which data is written to.
/// Represents a cursor in a <see cref="Span{Byte}"/> at which data is written to.
/// </summary>
[DebuggerDisplay(nameof(SpanWriter) + ", Position={Position}")]
public ref struct SpanWriter
......@@ -32,8 +32,8 @@ namespace Syroot.BinaryData.Memory
{
_reverseEndian = !endian.IsSystem();
_encoding = encoding ?? Encoding.UTF8;
Span = span;
Position = 0;
Span = span;
}
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment