public static void wr_byte(bool val) { Savefile.BufferAddBytes(new byte[] { (byte)(val ? 0 : 1) }); }
private static void wr_s32b(Int32 val) { Savefile.BufferAddBytes(BitConverter.GetBytes(val)); }
public static void wr_byte(byte val) { Savefile.BufferAddBytes(new byte[] { val }); }
private static void wr_u16b(UInt16 val) { Savefile.BufferAddBytes(BitConverter.GetBytes(val)); }