Пример #1
0
 public static HandlesStreamInput cachedHandlesCompressed(Compressor compressor, StreamInput in)
     throws IOException {
   Entry entry = instance();
   entry.handles.reset(compressor.streamInput(in));
   return entry.handles;
 }
Пример #2
0
 public static StreamInput compressed(Compressor compressor, StreamInput in) throws IOException {
   return compressor.streamInput(in);
 }