Class ByteArrayDataOutput
DataOutput backed by a byte array. WARNING: this class omits most low-level checks, so be sure to test heavily with assertions enabled.
Note
This API is experimental 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.Store
Assembly: Lucene.Net.dll
Syntax
public class ByteArrayDataOutput : DataOutput
Constructors
| Improve this Doc View SourceByteArrayDataOutput()
Declaration
public ByteArrayDataOutput()
ByteArrayDataOutput(Byte[])
Declaration
public ByteArrayDataOutput(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes |
ByteArrayDataOutput(Byte[], Int32, Int32)
Declaration
public ByteArrayDataOutput(byte[] bytes, int offset, int len)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes | |
System.Int32 | offset | |
System.Int32 | len |
Properties
| Improve this Doc View SourcePosition
Declaration
public virtual int Position { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceReset(Byte[])
Declaration
public virtual void Reset(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes |
Reset(Byte[], Int32, Int32)
Declaration
public virtual void Reset(byte[] bytes, int offset, int len)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes | |
System.Int32 | offset | |
System.Int32 | len |
WriteByte(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 offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | b | |
System.Int32 | offset | |
System.Int32 | length |