|
Assign(TBits)
|
Assigns the bits to the current encoded bits object.
|
|
Clone
|
Creates a copy of the encoded bits.
Note
|
It is the responsibility of the calling routine to free the cloned object.
|
|
|
Decode(Integer,Integer)
|
Overloaded. Decodes the bits in the range from Offset to Offset+Len into a byte.
This method extracts bits from the object and returns the extracted bits.
Note
|
The size of the range is not checked so it can overflow the decoded value.
|
|
|
Decode(Integer,Integer,Integer)
|
Overloaded. Decodes the bits in the range from Offset to Offset+Len into an array of bytes. The byte array is created by the method.
This method extracts bits from the object and returns the extracted bits.
Note
|
The size of the range is not checked so it can overflow the decoded value.
|
|
|
Decode(Integer,Integer,PByte,Integer)
|
Overloaded. Decodes the bits in the range from Offset to Offset+Len into a byte location.
This method extracts bits from the object and returns the extracted bits.
Note
|
The size of the range is not checked so it can overflow memory.
|
|
|
Decode(Integer,Integer,TRSBitByteArray)
|
Overloaded. Decodes the bits in the range from Offset to Offset+Len into an array of bytes. The size of the byte array is not changed by this routine. You need to be careful to allocate enough bytes for the bits.
This method extracts bits from the object and returns the extracted bits.
Note
|
The size of the range is not checked so it can overflow the decoded value.
|
|
|
Encode(Integer,Integer,Byte)
|
Overloaded. Encodes the bits in the byte into the encoded bits object. The Offset to Offset+Len specifies the range within the object to place the byte.
Note
|
The size of the range is not checked so it can overflow within the object.
|
|
|
Encode(Integer,Integer,PByte,Integer)
|
Overloaded. Encodes the bits in the byte into the encoded bits object. The Offset to Offset+Len specifies the range within the object to place the byte. The Size parameter specifies the number of bytes to encode.
Note
|
The size of the range is not checked so it can overflow within the object.
|
|
|
Encode(Integer,Integer,TRSBitByteArray)
|
Overloaded. Encodes the bits in the byte array into the encoded bits object. The Offset to Offset+Len specifies the range within the object to place the byte. The Value array specifies the bytes to encode.
Note
|
The size of the range is not checked so it can overflow within the object.
|
|
|
NumberOfOnes
|
Returns the number of 1 (on) bits in the object.
|
|
NumberOfZeros
|
Returns the number of 0 (off) bits in the object.
|
|
ToBitString
|
Returns a string of '1's and '0's that represent the bits in the object.
|
|
ToString
|
Returns a string of '1's and '0's that represent the bits in the object.
|