Class BytesList
Bytes list is a collection of buffer objects
Inheritance
System.Object
BytesList
Implements
Namespace: Xrpl.BinaryCodec.Binary
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class BytesList : object, IBytesSink
Fields
| Improve this Doc View SourceHexLookup
Hex Lookup
Declaration
public static string[] HexLookup
Field Value
Type | Description |
---|---|
System.String[] |
Methods
| Improve this Doc View SourceAdd(BytesList)
add Bytes list to this Bytes list
Declaration
public void Add(BytesList bl)
Parameters
Type | Name | Description |
---|---|---|
BytesList | bl | Bytes list |
Bytes()
Get all bytes
Declaration
public byte[] Bytes()
Returns
Type | Description |
---|---|
System.Byte[] | Bytes |
BytesHex()
convert bytes to hex string
Declaration
public string BytesHex()
Returns
Type | Description |
---|---|
System.String | string |
BytesLength()
Get the total number of bytes in the BytesList
Declaration
public int BytesLength()
Returns
Type | Description |
---|---|
System.Int32 | the number of bytes |
Put(Byte)
Put bytes in the BytesList
Declaration
public void Put(byte aByte)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | aByte | byte |
Put(Byte[])
Put bytes in the BytesList
Declaration
public void Put(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes | bytesArg A Buffer |
RawList()
view bytes list
Declaration
public List<byte[]> RawList()
Returns
Type | Description |
---|---|
List<System.Byte[]> | Raw List |