Revenj.Utility.ChunkedMemoryStream.ReadByte C# (CSharp) 메소드

ReadByte() 공개 메소드

Read a single byte
public ReadByte ( ) : int
리턴 int
        public override int ReadByte()
        {
            if (CurrentPosition < TotalSize)
            {
                var block = Blocks[CurrentPosition >> BlockShift];
                return block[CurrentPosition++ & BlockAnd];
            }
            return -1;
        }