예제 #1
0
 public Dictionary<byte[], byte[]> ExecuteOperation(ITransport transport)
 {
     HeaderParams param = WriteHeader(transport, BULK_GET_REQUEST);
     transport.WriteVInt(entryCount);
     transport.Flush();
     ReadHeaderAndValidate(transport, param);
     Dictionary<byte[], byte[]> result = new Dictionary<byte[], byte[]>();
     while (transport.ReadByte() == 1)
     {
         result.Add(transport.ReadArray(), transport.ReadArray());
     }
     return result;
 }