Class GrowableByteArrayDataOutput
A DataOutput that can be used to build a byte[].
This is a Lucene.NET INTERNAL API, use at your own risk
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class GrowableByteArrayDataOutput : DataOutput
Constructors
| Improve this Doc View SourceGrowableByteArrayDataOutput(Int32)
Create a GrowableByteArrayDataOutput with the given initial capacity.
Declaration
public GrowableByteArrayDataOutput(int cp)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | cp |
Properties
| Improve this Doc View SourceBytes
The bytes
Declaration
public byte[] Bytes { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Length
The length
Declaration
public int Length { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceWriteByte(Byte)
Declaration
public override void WriteByte(byte b)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | b |
Overrides
| Improve this Doc View SourceWriteBytes(Byte[], Int32, Int32)
Declaration
public override void WriteBytes(byte[] b, int off, int len)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | b | |
System.Int32 | off | |
System.Int32 | len |