修改 Write 输入类型

This commit is contained in:
ww-rm
2025-05-01 17:07:04 +08:00
parent e6f38657a3
commit 7c3184d88a

View File

@@ -209,7 +209,7 @@ namespace SpineViewer.Spine
protected Stream output;
public BinaryWriter(Stream output) { this.output = output; }
public void Write(int val) => output.WriteByte((byte)val);
public void Write(byte val) => output.WriteByte(val);
public void WriteByte(byte val) => output.WriteByte(val);
public void WriteUByte(byte val) => output.WriteByte(val);
public void WriteSByte(sbyte val) => output.WriteByte((byte)val);