Class ByteVector
This class implements a simple byte vector with access to the underlying array. This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Inheritance
System.Object
ByteVector
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public class ByteVector
Constructors
Name | Description |
---|---|
ByteVector() | |
ByteVector(Byte[]) | |
ByteVector(Byte[], Int32) | |
ByteVector(Int32) |
Properties
Name | Description |
---|---|
Array | |
Capacity | returns current capacity of array |
Item[Int32] | LUCENENET indexer for .NET |
Length | return number of items in array |
Methods
Name | Description |
---|---|
Alloc(Int32) | This is to implement memory allocation in the array. Like malloc(). |
TrimToSize() |