Example #1
0
        public override int Read(byte[] buffer, int offset, int count)
        {
            byte[] DocContent = DnsServiceManager.GetDocumentChunk(documentID, documentOffset, count, networkSetting);

            int size = DocContent.Length;

            Buffer.BlockCopy(DocContent, 0, buffer, offset, size);
            documentOffset += size;
            return(size);
        }