public ushort ReadUShort() { byte[] buffer = new byte[2]; memory.Read(buffer, 0, 2); return(ByteUtils.ToUShort(buffer, 0)); }
public uint ReadUInt() { byte[] buffer = new byte[4]; memory.Read(buffer, 0, 4); return(ByteUtils.ToUInt(buffer, 0)); }