Solid Framework SDK 10.0.12602
SDK for converting and extracting value from PDFs
Classes | Public Member Functions | Static Public Member Functions | Properties | List of all members
SolidFramework.BytesArray Class Reference
Inheritance diagram for SolidFramework.BytesArray:

Classes

class  BytesArrayEnumerator
 

Public Member Functions

virtual void Dispose ()
 
 BytesArray (global::System.Collections.ICollection c)
 
void CopyTo (byte[] array)
 Copies all the elements of the dictionary to the specified one-dimensional array starting at the beginning.
 
void CopyTo (byte[] array, int arrayIndex)
 Copies all the elements of the dictionary to the specified one-dimensional array starting at the specified destination array index.
 
void CopyTo (int index, byte[] array, int arrayIndex, int count)
 Copies count countitems from the collection starting at index index to the specified one-dimensional array starting at specified destination arrayIndex index. More...
 
BytesArrayEnumerator GetEnumerator ()
 Returns an BytesArrayEnumerator for the collection. More...
 
void Clear ()
 
void Add (byte x)
 
 BytesArray (BytesArray other)
 
 BytesArray (int capacity)
 
void AddRange (BytesArray values)
 
BytesArray GetRange (int index, int count)
 
void Insert (int index, byte x)
 
void InsertRange (int index, BytesArray values)
 
void RemoveAt (int index)
 
void RemoveRange (int index, int count)
 
void Reverse ()
 
void Reverse (int index, int count)
 
void SetRange (int index, BytesArray values)
 
bool Contains (byte value)
 
int IndexOf (byte value)
 
int LastIndexOf (byte value)
 
bool Remove (byte value)
 

Static Public Member Functions

static implicit operator BytesArray (byte[] inVal)
 
static implicit operator byte[] (BytesArray inVal)
 
static implicit operator BytesArray (global::System.Collections.Generic.List< byte > inVal)
 
static implicit operator global::System.Collections.Generic.List< byte > (BytesArray inVal)
 
static BytesArray Repeat (byte value, int count)
 

Properties

bool IsFixedSize [get]
 Gets whether the collection is a fixed size. This method always returns false.
 
bool IsReadOnly [get]
 Gets whether the collection is readonly. This method always returns false.
 
byte this[int index] [getset]
 Gets the byte at the specified index in the collection. More...
 
int Capacity [getset]
 Gets or sets the maximum number of items that can be stored in the collection. If the value is set to a number less than the current size of the colelction then an exception will be thrown. More...
 
int Count [get]
 Gets the number of items in the collection.
 
bool IsSynchronized [get]
 Gets a value indicating whether access to the ICollection is synchronized (thread safe). This always returns false.
 

Member Function Documentation

◆ CopyTo()

void SolidFramework.BytesArray.CopyTo ( int  index,
byte[]  array,
int  arrayIndex,
int  count 
)

Copies count countitems from the collection starting at index index to the specified one-dimensional array starting at specified destination arrayIndex index.

Parameters
indexIndex of the first item in this collection that should be copied.
arrayA one-dimensional array into which the items should be copied.
arrayIndexIndex of the destination array to where the first item should be copied.
countNumber of items to be copied.

◆ GetEnumerator()

BytesArrayEnumerator SolidFramework.BytesArray.GetEnumerator ( )

Returns an BytesArrayEnumerator for the collection.

Returns
An BytesArrayEnumerator for the collection.

Property Documentation

◆ Capacity

int SolidFramework.BytesArray.Capacity
getset

Gets or sets the maximum number of items that can be stored in the collection. If the value is set to a number less than the current size of the colelction then an exception will be thrown.

Exceptions
System.ArgumentOutOfRangeExceptionOccurs if the capacity is set to a number less than the current size.

◆ this[int index]

byte SolidFramework.BytesArray.this[int index]
getset

Gets the byte at the specified index in the collection.

Parameters
indexThe index of the item to be returned.
Returns
The byte at the specified index.