Method | Description | |
---|---|---|
Add ( byte b ) : void |
Adds a byte into the collection.
|
|
AddRange ( byte bs ) : void |
Adds a range of bytes to the collection.
|
|
ByteCollection ( ) : System |
Initializes a new instance of ByteCollection class.
|
|
ByteCollection ( byte bs ) : System |
Initializes a new instance of ByteCollection class.
|
|
Contains ( byte b ) : bool |
Returns true, if the byte exists in the collection.
|
|
CopyTo ( byte bs, int index ) : void |
Copies the content of the collection into the given array.
|
|
GetBytes ( ) : byte[] |
Gets all bytes in the array
|
|
IndexOf ( byte b ) : int |
Returns the index of the given byte.
|
|
Insert ( int index, byte b ) : void |
Inserts a byte to the collection.
|
|
InsertRange ( int index, byte bs ) : void |
Inserts a range of bytes to the collection.
|
|
Remove ( byte b ) : void |
Removes a byte from the collection.
|
|
RemoveRange ( int index, int count ) : void |
Removes a range of bytes from the collection.
|
|
ToArray ( ) : byte[] |
Copies the content of the collection into an array.
|
|
this ( int index ) : byte |
Gets or sets the value of a byte
|
public ByteCollection ( byte bs ) : System | ||
bs | byte | an array of bytes to add to collection |
return | System |
public Insert ( int index, byte b ) : void | ||
index | int | the index |
b | byte | a byte to insert |
return | void |
public InsertRange ( int index, byte bs ) : void | ||
index | int | the index of start byte |
bs | byte | an array of bytes to insert |
return | void |
public RemoveRange ( int index, int count ) : void | ||
index | int | the index of the start byte |
count | int | the count of the bytes to remove |
return | void |