mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-22 12:03:10 +00:00
parent
b68fb27ccf
commit
0499caa52e
1 changed files with 3 additions and 3 deletions
|
@ -314,11 +314,11 @@ public sealed class BK4 : G4PKM
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string GetString(ReadOnlySpan<byte> data)
|
public override string GetString(ReadOnlySpan<byte> data)
|
||||||
=> StringConverter4.GetString(data);
|
=> StringConverter4GC.GetString(data);
|
||||||
public override int LoadString(ReadOnlySpan<byte> data, Span<char> destBuffer)
|
public override int LoadString(ReadOnlySpan<byte> data, Span<char> destBuffer)
|
||||||
=> StringConverter4.LoadString(data, destBuffer);
|
=> StringConverter4GC.LoadString(data, destBuffer);
|
||||||
public override int SetString(Span<byte> destBuffer, ReadOnlySpan<char> value, int maxLength, StringConverterOption option)
|
public override int SetString(Span<byte> destBuffer, ReadOnlySpan<char> value, int maxLength, StringConverterOption option)
|
||||||
=> StringConverter4.SetString(destBuffer, value, maxLength, Language, option);
|
=> StringConverter4GC.SetString(destBuffer, value, maxLength, Language, option);
|
||||||
public override int GetStringTerminatorIndex(ReadOnlySpan<byte> data)
|
public override int GetStringTerminatorIndex(ReadOnlySpan<byte> data)
|
||||||
=> TrashBytesUTF16.GetTerminatorIndex(data, StringConverter4.Terminator);
|
=> TrashBytesUTF16.GetTerminatorIndex(data, StringConverter4.Terminator);
|
||||||
public override int GetStringLength(ReadOnlySpan<byte> data)
|
public override int GetStringLength(ReadOnlySpan<byte> data)
|
||||||
|
|
Loading…
Reference in a new issue