public new void Write(short value) { if (myEndian.isBigEndian()) { base.Write(BitConverter.ToInt16(Endian.swapEndian(BitConverter.GetBytes(value)), 0)); } else { base.Write(value); } }
public new short ReadInt16() { if (myEndian.isBigEndian()) { return(BitConverter.ToInt16(Endian.swapEndian(BitConverter.GetBytes(base.ReadInt16())), 0)); } else { return(base.ReadInt16()); } }