Class GrowableByteArrayDataOutput
A DataOutput that can be used to build a byte[].
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |