示例#1
0
 public short TakeShort(out short value, Endian endian)
 {
     if (CheckAvailable(2))
     {
         value         = ByteConverter.BytesToInt16(buffer, readPosition, endian);
         readPosition += 2;
         return(value);
     }
     throw eobException;
 }