示例#1
0
文件: IO.cs 项目: amon-ra/Dokan-SSHFS
 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);
 }