Beispiel #1
0
 public bool TakeBool(out bool value, byte length, Endian endian)
 {
     if (CheckAvailable(length))
     {
         value         = ByteConverter.BytesToBool(buffer, readPosition, length, endian);
         readPosition += length;
         return(value);
     }
     throw eobException;
 }