internal void getByte(byte[] array, int begin, int length) { do { int completed = ins.Read(array, begin, length); if (completed <= 0) { throw new IOException("End of IO Stream Read"); } begin += completed; length -= completed; }while (length > 0); }