public static TryReadBeUInt16 ( byte img, long offset, ushort &value ) : bool | ||
img | byte | |
offset | long | |
value | ushort | |
return | bool |
public bool TryReadBeUInt16(out ushort us) { if (!MemoryArea.TryReadBeUInt16(bytes, (uint)off, out us)) { return(false); } off += 2; return(true); }
public bool TryPeekBeUInt16(int offset, out ushort value) { return(MemoryArea.TryReadBeUInt16(bytes, offset + off, out value)); }