Class PagedBytes.PagedBytesDataOutput
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class PagedBytes.PagedBytesDataOutput : DataOutput
Constructors
PagedBytesDataOutput(PagedBytes)
Declaration
public PagedBytesDataOutput(PagedBytes pagedBytes)
Parameters
Type | Name | Description |
---|---|---|
PagedBytes | pagedBytes |
Methods
GetPosition()
Return the current byte position.
Declaration
public long GetPosition()
Returns
Type | Description |
---|---|
long |
WriteByte(byte)
Writes a single byte.
The most primitive data type is an eight-bit byte. Files are accessed as sequences of bytes. All other data types are defined as sequences of bytes, so file formats are byte-order independent.Declaration
public override void WriteByte(byte b)
Parameters
Type | Name | Description |
---|---|---|
byte | b |
Overrides
See Also
ReadByte()
WriteBytes(byte[], int, int)
Writes an array of bytes.
Declaration
public override void WriteBytes(byte[] b, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
byte[] | b | the bytes to write |
int | offset | the offset in the byte array |
int | length | the number of bytes to write |