TryReadLeUInt16() public static method

public static TryReadLeUInt16 ( byte abImage, uint offset, ushort &us ) : bool
abImage byte
offset uint
us ushort
return bool
Esempio n. 1
0
 public bool TryReadLeUInt16(out ushort us)
 {
     if (!MemoryArea.TryReadLeUInt16(bytes, (uint)off, out us))
     {
         return(false);
     }
     off += 2;
     return(true);
 }
Esempio n. 2
0
 public bool TryPeekLeUInt16(int offset, out ushort value)
 {
     return(MemoryArea.TryReadLeUInt16(bytes, offset + off, out value));
 }