iTextSharp.text.pdf.PdfSignatureAppearance.FRangeStream.ReadFully C# (CSharp) Метод

ReadFully() приватный Метод

private ReadFully ( byte b, int offset, int count ) : void
b byte
offset int
count int
Результат void
            private void ReadFully(byte[] b, int offset, int count)
            {
                while (count > 0) {
                    int n = raf.Read(b, offset, count);
                    if (n <= 0)
                        throw new IOException(MessageLocalization.GetComposedMessage("insufficient.data"));
                    count -= n;
                    offset += n;
                }
            }