Skip to content

Commit fc8b346

Browse files
committed
Release v1.1.0
1 parent f8dd3cf commit fc8b346

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ using (var reader = new EndianBinaryReader(stream, endianness: Endianness.Little
111111
obj.Bool32 = reader.ReadBoolean(); // Reads a 'bool' (4 bytes in this case, since the reader was initiated with a default of BooleanSize.U32, but there is an overload to pass in one)
112112
113113
obj.NullTerminatedASCIIString = reader.ReadStringNullTerminated(EncodingType.ASCII); // Reads ASCII chars until a '\0' is read, then returns a 'string'
114-
obj.UTF16String = reader.ReadString(10, EncodingType.UTF16); // Reads 10 UTF16 chars as a 'string'
114+
obj.UTF16String = reader.ReadString(10, true, EncodingType.UTF16); // Reads 10 UTF16 chars as a 'string' with the '\0's removed
115115
}
116116
```
117117
### Reading Automatically (With Reflection):

Source/EndianBinaryIO.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PackageId>EndianBinaryIO</PackageId>
1010
<Product>EndianBinaryIO</Product>
1111
<AssemblyName>EndianBinaryIO</AssemblyName>
12-
<Version>1.0.3.0</Version>
12+
<Version>1.1.0.0</Version>
1313
<RepositoryUrl>https://github.com/Kermalis/EndianBinaryIO</RepositoryUrl>
1414
<RepositoryType>git</RepositoryType>
1515
<NoWarn />

0 commit comments

Comments
 (0)