Method ReadHeader
ReadHeader(DataInput)
Expert: reads only the metadata from a stream. This is useful to later restore a stream or open a direct reader via GetReaderNoHeader(DataInput, PackedInt32s.Header) or GetDirectReaderNoHeader(IndexInput, PackedInt32s.Header).
Declaration
public static PackedInt32s.Header ReadHeader(DataInput in)
Parameters
Type | Name | Description |
---|---|---|
DataInput | in | The stream to read data. |
Returns
Type | Description |
---|---|
PackedInt32s.Header | Packed integer metadata. |