BTDB.StreamLayer.AbstractBufferedReader.ReadUInt8 C# (CSharp) Метод

ReadUInt8() публичный Метод

public ReadUInt8 ( ) : byte
Результат byte
        public byte ReadUInt8()
        {
            NeedOneByteInBuffer();
            return Buf[Pos++];
        }

Usage Example

Пример #1
0
 public FileKeyIndex(AbstractBufferedReader reader, Guid? guid, bool withCommitUlong, bool modern)
 {
     _guid = guid;
     _generation = reader.ReadVInt64();
     _trLogFileId = reader.ReadVUInt32();
     _trLogOffset = reader.ReadVUInt32();
     _keyValueCount = (long)reader.ReadVUInt64();
     _commitUlong = withCommitUlong ? reader.ReadVUInt64() : 0;
     _compressionType = modern ? (KeyIndexCompression)reader.ReadUInt8() : KeyIndexCompression.Old;
 }
All Usage Examples Of BTDB.StreamLayer.AbstractBufferedReader::ReadUInt8