mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-02-04 05:36:12 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5510b5d19d |
@@ -4,7 +4,7 @@
|
||||
<!-- Assembly Properties -->
|
||||
<TargetFrameworks>net48;net6.0;net7.0;net8.0</TargetFrameworks>
|
||||
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
|
||||
<Version>1.1.4</Version>
|
||||
<Version>1.1.5</Version>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
|
||||
<!-- Package Properties -->
|
||||
|
||||
@@ -209,7 +209,7 @@ namespace SabreTools.Serialization.Wrappers
|
||||
#if NET48
|
||||
public byte[] ReadFromDataSource(int position, int length)
|
||||
#else
|
||||
protected byte[]? ReadFromDataSource(int position, int length)
|
||||
public byte[]? ReadFromDataSource(int position, int length)
|
||||
#endif
|
||||
{
|
||||
// Validate the data source
|
||||
@@ -262,7 +262,7 @@ namespace SabreTools.Serialization.Wrappers
|
||||
#if NET48
|
||||
public List<string> ReadStringsFromDataSource(int position, int length, int charLimit = 5)
|
||||
#else
|
||||
protected List<string>? ReadStringsFromDataSource(int position, int length, int charLimit = 5)
|
||||
public List<string>? ReadStringsFromDataSource(int position, int length, int charLimit = 5)
|
||||
#endif
|
||||
{
|
||||
// Read the data as a byte array first
|
||||
|
||||
Reference in New Issue
Block a user