ICSharpCode.SharpZipLib.Zip.ZipFile.PartialInputStream.ReadByte C# (CSharp) 메소드

ReadByte() 공개 메소드

Read a byte from this stream.
public ReadByte ( ) : int
리턴 int
            public override int ReadByte() {
                if (readPos_>=end_) {
                    // -1 is the correct value at end of stream.
                    return -1;
                }

                lock (baseStream_) {
                    baseStream_.Seek(readPos_++, SeekOrigin.Begin);
                    return baseStream_.ReadByte();
                }
            }