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; }
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; }