Apache Lucene.Net 2.4.0 Class Library API

IndexInput.ReadBytes Method (Byte[], Int32, Int32, Boolean)

Reads a specified number of bytes into an array at the specified offset with control over whether the read should be buffered (callers who have their own buffer should pass in "false" for useBuffer). Currently only {@link BufferedIndexInput} respects this parameter.

public virtual void ReadBytes(
   byte[] b,
   int offset,
   int len,
   bool useBuffer
);

Parameters

b
the array to read bytes into
offset
the offset in the array to start storing bytes
len
the number of bytes to read
useBuffer
set to false if the caller will handle buffering.

See Also

IndexInput Class | Lucene.Net.Store Namespace | IndexInput.ReadBytes Overload List |