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