You are here: Start » FIL.NET » ByteArray Class

ByteArray Class

Namespace:Ftl
Assembly:FilNet.Types.dll

Like std::vector: random-access and growable. Created mainly for passing data between filters, but dynamic growth is also supported for convenience. Fixed binary representation in 12 bytes (for interoperability): 0x00: pointer to data (warning: on x64 pointer has 8 bytes) 0x04: int size; 0x08: int capacity;

Constructors

 ConstructorDescription
ByteArray(Int32, IntPtr, Boolean) creates a view (own == false) or passes data together with ownership (own == true)
ByteArray(IntPtr, IntPtr)
ByteArray()
ByteArray(ByteArray)
ByteArray(Int32, Byte)
ByteArray(Int32)
ByteArray(List<Byte>)
ByteArray(Byte[])

Properties

 NameTypeDescription
BackSystem.Byte
BeginSystem.IntPtr
CapacitySystem.Int32
EmptySystem.Boolean
EndSystem.IntPtr
FrontSystem.Byte
IsDataOwnSystem.Boolean
IsDisposedSystem.BooleanInherited from Fil.UnmanagedObject
IsViewSystem.BooleanInherited from Fil.UnmanagedObject
ItemSystem.Byte
MaxSizeSystem.Int32
SizeSystem.Int32

Methods

 NameDescription
Clear()
Compact()
Contains(byte)
CopyTo(Ftl.ByteArray)
CopyTo(byte[], int)
Dispose()Inherited from Fil.UnmanagedObject
Equals(Ftl.ByteArray)
Equals(object)Inherited from System.Object
Erase(System.IntPtr)
Erase(System.IntPtr, System.IntPtr)
GetEnumerator()
GetHashCode()Inherited from System.Object
GetType()Inherited from System.Object
IndexOf(byte)
Insert(int, byte)
Insert(System.IntPtr, byte)
Insert(System.IntPtr, System.IntPtr)
Insert(System.IntPtr, System.IntPtr, System.IntPtr)
MakeDataOwn()
MoveTo(Ftl.ByteArray)
PopBack()
PushBack(byte)
Release()
RemoveAt(int)
Remove(byte)
Reserve(int)
Reset() Recreates the array
Reset(int) Recreate the array
Reset(int, byte) Recreate the array
Reset(int, System.IntPtr, bool)
Resize(int)
Resize(int, byte)
ToArray()
ToString()Inherited from System.Object

Remarks

See also