ssz
Module Contents
alltypes
Module Contents
open class EndOfSSZException : SSZException
open class InvalidSSZTypeException : SSZException
class SSZ
Module Contents
static fun <T : Any> decode(source: Bytes, fn: Function<SSZReader, T>): T
static fun decodeAddress(source: Bytes): Bytes
static fun decodeAddressList(source: Bytes): MutableList<Bytes>
static fun decodeBigInteger(source: Bytes, bitLength: Int): BigInteger
static fun decodeBigIntegerList(source: Bytes, bitLength: Int): MutableList<BigInteger>
static fun decodeBoolean(source: Bytes): Boolean
static fun decodeBooleanList(source: Bytes): MutableList<Boolean>
static fun decodeByteArrayList(source: Bytes): MutableList<ByteArray>
static fun decodeByteArrayList(source: Bytes, limit: Int): MutableList<ByteArray>
static fun decodeBytes(source: Bytes): Bytes
static fun decodeBytes(source: Bytes, limit: Int): Bytes
static fun decodeBytesList(source: Bytes): MutableList<Bytes>
static fun decodeBytesList(source: Bytes, limit: Int): MutableList<Bytes>
static fun decodeHash(source: Bytes, hashLength: Int): Bytes
static fun decodeHashList(source: Bytes, hashLength: Int): MutableList<Bytes>
static fun decodeInt(source: Bytes, bitLength: Int): Int
static fun decodeInt16(source: Bytes): Int
static fun decodeInt16List(source: Bytes): MutableList<Int>
static fun decodeInt32(source: Bytes): Int
static fun decodeInt32List(source: Bytes): MutableList<Int>
static fun decodeInt64(source: Bytes): Long
static fun decodeInt64List(source: Bytes): MutableList<Long>
static fun decodeInt8(source: Bytes): Int
static fun decodeInt8List(source: Bytes): MutableList<Int>
static fun decodeIntList(source: Bytes, bitLength: Int): MutableList<Int>
static fun decodeLong(source: Bytes, bitLength: Int): Long
static fun decodeLongIntList(source: Bytes, bitLength: Int): MutableList<Long>
static fun decodeString(source: Bytes): String
static fun decodeString(source: Bytes, limit: Int): String
static fun decodeStringList(source: Bytes): MutableList<String>
static fun decodeStringList(source: Bytes, limit: Int): MutableList<String>
static fun decodeUInt(source: Bytes, bitLength: Int): Int
static fun decodeUInt16(source: Bytes): Int
static fun decodeUInt16List(source: Bytes): MutableList<Int>
static fun decodeUInt256(source: Bytes): UInt256
static fun decodeUInt256List(source: Bytes): MutableList<UInt256>
static fun decodeUInt32(source: Bytes): Long
static fun decodeUInt32List(source: Bytes): MutableList<Long>
static fun decodeUInt384(source: Bytes): UInt384
static fun decodeUInt384List(source: Bytes): MutableList<UInt384>
static fun decodeUInt64(source: Bytes): Long
static fun decodeUInt64List(source: Bytes): MutableList<Long>
static fun decodeUInt8(source: Bytes): Int
static fun decodeUInt8List(source: Bytes): MutableList<Int>
static fun decodeUIntList(source: Bytes, bitLength: Int): MutableList<Int>
static fun decodeULong(source: Bytes, bitLength: Int): Long
static fun decodeULongIntList(source: Bytes, bitLength: Int): MutableList<Long>
static fun decodeUnsignedBigInteger(source: Bytes, bitLength: Int): BigInteger
static fun decodeUnsignedBigIntegerList(source: Bytes, bitLength: Int): MutableList<BigInteger>
static fun encode(fn: Consumer<SSZWriter>): Bytes
static fun encodeAddress(address: Bytes): Bytes
static fun encodeAddressList(vararg elements: Bytes): Bytes
static fun encodeAddressList(elements: MutableList<out Bytes>): Bytes
static fun encodeBigInteger(value: BigInteger, bitLength: Int): Bytes
static fun encodeBigIntegerList(bitLength: Int, vararg elements: BigInteger): Bytes
static fun encodeBigIntegerList(bitLength: Int, elements: MutableList<BigInteger>): Bytes
static fun encodeBigIntegerToByteArray(value: BigInteger, bitLength: Int): ByteArray
static fun encodeBoolean(value: Boolean): Bytes
static fun encodeBooleanList(vararg elements: Boolean): Bytes
static fun encodeBooleanList(elements: MutableList<Boolean>): Bytes
static fun encodeByteArray(value: ByteArray): Bytes
static fun encodeBytes(value: Bytes): Bytes
static fun encodeBytesList(vararg elements: Bytes): Bytes
static fun encodeBytesList(elements: MutableList<out Bytes>): Bytes
static fun encodeHash(hash: Bytes): Bytes
static fun encodeHashList(vararg elements: Bytes): Bytes
static fun encodeHashList(elements: MutableList<out Bytes>): Bytes
static fun encodeInt(value: Int, bitLength: Int): Bytes
static fun encodeInt16(value: Int): Bytes
static fun encodeInt16List(vararg elements: Int): Bytes
static fun encodeInt16List(elements: MutableList<Int>): Bytes
static fun encodeInt32(value: Int): Bytes
static fun encodeInt32List(vararg elements: Int): Bytes
static fun encodeInt32List(elements: MutableList<Int>): Bytes
static fun encodeInt64(value: Long): Bytes
static fun encodeInt64List(vararg elements: Long): Bytes
static fun encodeInt64List(elements: MutableList<Long>): Bytes
static fun encodeInt8(value: Int): Bytes
static fun encodeInt8List(vararg elements: Int): Bytes
static fun encodeInt8List(elements: MutableList<Int>): Bytes
static fun encodeIntList(bitLength: Int, vararg elements: Int): Bytes
static fun encodeIntList(bitLength: Int, elements: MutableList<Int>): Bytes
static fun encodeLong(value: Long, bitLength: Int): Bytes
static fun encodeLongIntList(bitLength: Int, vararg elements: Long): Bytes
static fun encodeLongIntList(bitLength: Int, elements: MutableList<Long>): Bytes
static fun encodeString(str: String): Bytes
static fun encodeStringList(vararg elements: String): Bytes
static fun encodeStringList(elements: MutableList<String>): Bytes
static fun <T : ByteBuffer> encodeTo(buffer: T, fn: Consumer<SSZWriter>): T
static fun encodeUBigInteger(value: BigInteger, bitLength: Int): Bytes
static fun encodeUBigIntegerToByteArray(value: BigInteger, bitLength: Int): ByteArray
static fun encodeUInt(value: Int, bitLength: Int): Bytes
static fun encodeUInt16(value: Int): Bytes
static fun encodeUInt16List(vararg elements: Int): Bytes
static fun encodeUInt16List(elements: MutableList<Int>): Bytes
static fun encodeUInt256(value: UInt256): Bytes
static fun encodeUInt256List(vararg elements: UInt256): Bytes
static fun encodeUInt256List(elements: MutableList<UInt256>): Bytes
static fun encodeUInt32(value: Long): Bytes
static fun encodeUInt32List(vararg elements: Long): Bytes
static fun encodeUInt32List(elements: MutableList<Long>): Bytes
static fun encodeUInt384(value: UInt384): Bytes
static fun encodeUInt384List(vararg elements: UInt384): Bytes
static fun encodeUInt384List(elements: MutableList<UInt384>): Bytes
static fun encodeUInt64(value: Long): Bytes
static fun encodeUInt64List(vararg elements: Long): Bytes
static fun encodeUInt64List(elements: MutableList<Long>): Bytes
static fun encodeUInt8(value: Int): Bytes
static fun encodeUInt8List(vararg elements: Int): Bytes
static fun encodeUInt8List(elements: MutableList<Int>): Bytes
static fun encodeUIntList(bitLength: Int, vararg elements: Int): Bytes
static fun encodeUIntList(bitLength: Int, elements: MutableList<Int>): Bytes
static fun encodeULong(value: Long, bitLength: Int): Bytes
static fun encodeULongIntList(bitLength: Int, vararg elements: Long): Bytes
static fun encodeULongIntList(bitLength: Int, elements: MutableList<Long>): Bytes
static fun hashTreeRoot(vararg bytes: Bytes): Bytes32
open class SSZException : RuntimeException
interface SSZReader
interface SSZWriter
Module Contents
open fun writeAddress(address: Bytes): Unit
open fun writeAddressList(vararg elements: Bytes): Unit
open fun writeAddressList(elements: MutableList<out Bytes>): Unit
open fun writeBigInteger(value: BigInteger, bitLength: Int): Unit
open fun writeBigIntegerList(bitLength: Int, vararg elements: BigInteger): Unit
open fun writeBigIntegerList(bitLength: Int, elements: MutableList<BigInteger>): Unit
open fun writeBoolean(value: Boolean): Unit
open fun writeBooleanList(vararg elements: Boolean): Unit
open fun writeBooleanList(elements: MutableList<Boolean>): Unit
open fun writeBytes(value: Bytes): Unit
open fun writeBytes(value: ByteArray): Unit
open fun writeBytesList(vararg elements: Bytes): Unit
open fun writeBytesList(elements: MutableList<out Bytes>): Unit
open fun writeFixedBytes(byteLength: Int, value: Bytes): Unit
open fun writeFixedBytesList(byteLength: Int, elements: MutableList<out Bytes>): Unit
open fun writeFixedBytesVector(elements: MutableList<out Bytes>): Unit
open fun writeHash(hash: Bytes): Unit
open fun writeHashList(vararg elements: Bytes): Unit
open fun writeHashList(elements: MutableList<out Bytes>): Unit
open fun writeInt(value: Int, bitLength: Int): Unit
open fun writeInt16(value: Int): Unit
open fun writeInt16List(vararg elements: Int): Unit
open fun writeInt16List(elements: MutableList<Int>): Unit
open fun writeInt32(value: Int): Unit
open fun writeInt32List(vararg elements: Int): Unit
open fun writeInt32List(elements: MutableList<Int>): Unit
open fun writeInt64(value: Long): Unit
open fun writeInt64List(vararg elements: Long): Unit
open fun writeInt64List(elements: MutableList<Long>): Unit
open fun writeInt8(value: Int): Unit
open fun writeInt8List(vararg elements: Int): Unit
open fun writeInt8List(elements: MutableList<Int>): Unit
open fun writeIntList(bitLength: Int, vararg elements: Int): Unit
open fun writeIntList(bitLength: Int, elements: MutableList<Int>): Unit
open fun writeLong(value: Long, bitLength: Int): Unit
open fun writeLongIntList(bitLength: Int, vararg elements: Long): Unit
open fun writeLongIntList(bitLength: Int, elements: MutableList<Long>): Unit
abstract fun writeSSZ(value: Bytes): Unit
open fun writeSSZ(value: ByteArray): Unit
open fun writeString(str: String): Unit
open fun writeStringList(vararg elements: String): Unit
open fun writeStringList(elements: MutableList<String>): Unit
open fun writeUBigInteger(value: BigInteger, bitLength: Int): Unit
open fun writeUInt(value: Int, bitLength: Int): Unit
open fun writeUInt16(value: Int): Unit
open fun writeUInt16List(vararg elements: Int): Unit
open fun writeUInt16List(elements: MutableList<Int>): Unit
open fun writeUInt256(value: UInt256): Unit
open fun writeUInt256List(vararg elements: UInt256): Unit
open fun writeUInt256List(elements: MutableList<UInt256>): Unit
open fun writeUInt32(value: Long): Unit
open fun writeUInt32List(vararg elements: Long): Unit
open fun writeUInt32List(elements: MutableList<Long>): Unit
open fun writeUInt384(value: UInt384): Unit
open fun writeUInt384List(elements: MutableList<UInt384>): Unit
open fun writeUInt384List(vararg elements: UInt384): Unit
open fun writeUInt64(value: Long): Unit
open fun writeUInt64List(vararg elements: Long): Unit
open fun writeUInt64List(elements: MutableList<Long>): Unit
open fun writeUInt8(value: Int): Unit
open fun writeUInt8List(vararg elements: Int): Unit
open fun writeUInt8List(elements: MutableList<Int>): Unit
open fun writeUIntList(bitLength: Int, vararg elements: Int): Unit
open fun writeUIntList(bitLength: Int, elements: MutableList<Int>): Unit
open fun writeULong(value: Long, bitLength: Int): Unit
open fun writeULongIntList(bitLength: Int, vararg elements: Long): Unit
open fun writeULongIntList(bitLength: Int, elements: MutableList<Long>): Unit
open fun writeVector(elements: MutableList<out Bytes>): Unit
package org.apache.tuweni.ssz
Module Contents
open class EndOfSSZException : SSZException
open class InvalidSSZTypeException : SSZException
class SSZ
Module Contents
static fun <T : Any> decode(source: Bytes, fn: Function<SSZReader, T>): T
static fun decodeAddress(source: Bytes): Bytes
static fun decodeAddressList(source: Bytes): MutableList<Bytes>
static fun decodeBigInteger(source: Bytes, bitLength: Int): BigInteger
static fun decodeBigIntegerList(source: Bytes, bitLength: Int): MutableList<BigInteger>
static fun decodeBoolean(source: Bytes): Boolean
static fun decodeBooleanList(source: Bytes): MutableList<Boolean>
static fun decodeByteArrayList(source: Bytes): MutableList<ByteArray>
static fun decodeByteArrayList(source: Bytes, limit: Int): MutableList<ByteArray>
static fun decodeBytes(source: Bytes): Bytes
static fun decodeBytes(source: Bytes, limit: Int): Bytes
static fun decodeBytesList(source: Bytes): MutableList<Bytes>
static fun decodeBytesList(source: Bytes, limit: Int): MutableList<Bytes>
static fun decodeHash(source: Bytes, hashLength: Int): Bytes
static fun decodeHashList(source: Bytes, hashLength: Int): MutableList<Bytes>
static fun decodeInt(source: Bytes, bitLength: Int): Int
static fun decodeInt16(source: Bytes): Int
static fun decodeInt16List(source: Bytes): MutableList<Int>
static fun decodeInt32(source: Bytes): Int
static fun decodeInt32List(source: Bytes): MutableList<Int>
static fun decodeInt64(source: Bytes): Long
static fun decodeInt64List(source: Bytes): MutableList<Long>
static fun decodeInt8(source: Bytes): Int
static fun decodeInt8List(source: Bytes): MutableList<Int>
static fun decodeIntList(source: Bytes, bitLength: Int): MutableList<Int>
static fun decodeLong(source: Bytes, bitLength: Int): Long
static fun decodeLongIntList(source: Bytes, bitLength: Int): MutableList<Long>
static fun decodeString(source: Bytes): String
static fun decodeString(source: Bytes, limit: Int): String
static fun decodeStringList(source: Bytes): MutableList<String>
static fun decodeStringList(source: Bytes, limit: Int): MutableList<String>
static fun decodeUInt(source: Bytes, bitLength: Int): Int
static fun decodeUInt16(source: Bytes): Int
static fun decodeUInt16List(source: Bytes): MutableList<Int>
static fun decodeUInt256(source: Bytes): UInt256
static fun decodeUInt256List(source: Bytes): MutableList<UInt256>
static fun decodeUInt32(source: Bytes): Long
static fun decodeUInt32List(source: Bytes): MutableList<Long>
static fun decodeUInt384(source: Bytes): UInt384
static fun decodeUInt384List(source: Bytes): MutableList<UInt384>
static fun decodeUInt64(source: Bytes): Long
static fun decodeUInt64List(source: Bytes): MutableList<Long>
static fun decodeUInt8(source: Bytes): Int
static fun decodeUInt8List(source: Bytes): MutableList<Int>
static fun decodeUIntList(source: Bytes, bitLength: Int): MutableList<Int>
static fun decodeULong(source: Bytes, bitLength: Int): Long
static fun decodeULongIntList(source: Bytes, bitLength: Int): MutableList<Long>
static fun decodeUnsignedBigInteger(source: Bytes, bitLength: Int): BigInteger
static fun decodeUnsignedBigIntegerList(source: Bytes, bitLength: Int): MutableList<BigInteger>
static fun encode(fn: Consumer<SSZWriter>): Bytes
static fun encodeAddress(address: Bytes): Bytes
static fun encodeAddressList(vararg elements: Bytes): Bytes
static fun encodeAddressList(elements: MutableList<out Bytes>): Bytes
static fun encodeBigInteger(value: BigInteger, bitLength: Int): Bytes
static fun encodeBigIntegerList(bitLength: Int, vararg elements: BigInteger): Bytes
static fun encodeBigIntegerList(bitLength: Int, elements: MutableList<BigInteger>): Bytes
static fun encodeBigIntegerToByteArray(value: BigInteger, bitLength: Int): ByteArray
static fun encodeBoolean(value: Boolean): Bytes
static fun encodeBooleanList(vararg elements: Boolean): Bytes
static fun encodeBooleanList(elements: MutableList<Boolean>): Bytes
static fun encodeByteArray(value: ByteArray): Bytes
static fun encodeBytes(value: Bytes): Bytes
static fun encodeBytesList(vararg elements: Bytes): Bytes
static fun encodeBytesList(elements: MutableList<out Bytes>): Bytes
static fun encodeHash(hash: Bytes): Bytes
static fun encodeHashList(vararg elements: Bytes): Bytes
static fun encodeHashList(elements: MutableList<out Bytes>): Bytes
static fun encodeInt(value: Int, bitLength: Int): Bytes
static fun encodeInt16(value: Int): Bytes
static fun encodeInt16List(vararg elements: Int): Bytes
static fun encodeInt16List(elements: MutableList<Int>): Bytes
static fun encodeInt32(value: Int): Bytes
static fun encodeInt32List(vararg elements: Int): Bytes
static fun encodeInt32List(elements: MutableList<Int>): Bytes
static fun encodeInt64(value: Long): Bytes
static fun encodeInt64List(vararg elements: Long): Bytes
static fun encodeInt64List(elements: MutableList<Long>): Bytes
static fun encodeInt8(value: Int): Bytes
static fun encodeInt8List(vararg elements: Int): Bytes
static fun encodeInt8List(elements: MutableList<Int>): Bytes
static fun encodeIntList(bitLength: Int, vararg elements: Int): Bytes
static fun encodeIntList(bitLength: Int, elements: MutableList<Int>): Bytes
static fun encodeLong(value: Long, bitLength: Int): Bytes
static fun encodeLongIntList(bitLength: Int, vararg elements: Long): Bytes
static fun encodeLongIntList(bitLength: Int, elements: MutableList<Long>): Bytes
static fun encodeString(str: String): Bytes
static fun encodeStringList(vararg elements: String): Bytes
static fun encodeStringList(elements: MutableList<String>): Bytes
static fun <T : ByteBuffer> encodeTo(buffer: T, fn: Consumer<SSZWriter>): T
static fun encodeUBigInteger(value: BigInteger, bitLength: Int): Bytes
static fun encodeUBigIntegerToByteArray(value: BigInteger, bitLength: Int): ByteArray
static fun encodeUInt(value: Int, bitLength: Int): Bytes
static fun encodeUInt16(value: Int): Bytes
static fun encodeUInt16List(vararg elements: Int): Bytes
static fun encodeUInt16List(elements: MutableList<Int>): Bytes
static fun encodeUInt256(value: UInt256): Bytes
static fun encodeUInt256List(vararg elements: UInt256): Bytes
static fun encodeUInt256List(elements: MutableList<UInt256>): Bytes
static fun encodeUInt32(value: Long): Bytes
static fun encodeUInt32List(vararg elements: Long): Bytes
static fun encodeUInt32List(elements: MutableList<Long>): Bytes
static fun encodeUInt384(value: UInt384): Bytes
static fun encodeUInt384List(vararg elements: UInt384): Bytes
static fun encodeUInt384List(elements: MutableList<UInt384>): Bytes
static fun encodeUInt64(value: Long): Bytes
static fun encodeUInt64List(vararg elements: Long): Bytes
static fun encodeUInt64List(elements: MutableList<Long>): Bytes
static fun encodeUInt8(value: Int): Bytes
static fun encodeUInt8List(vararg elements: Int): Bytes
static fun encodeUInt8List(elements: MutableList<Int>): Bytes
static fun encodeUIntList(bitLength: Int, vararg elements: Int): Bytes
static fun encodeUIntList(bitLength: Int, elements: MutableList<Int>): Bytes
static fun encodeULong(value: Long, bitLength: Int): Bytes
static fun encodeULongIntList(bitLength: Int, vararg elements: Long): Bytes
static fun encodeULongIntList(bitLength: Int, elements: MutableList<Long>): Bytes
static fun hashTreeRoot(vararg bytes: Bytes): Bytes32
open class SSZException : RuntimeException
interface SSZReader
interface SSZWriter
Module Contents
open fun writeAddress(address: Bytes): Unit
open fun writeAddressList(vararg elements: Bytes): Unit
open fun writeAddressList(elements: MutableList<out Bytes>): Unit
open fun writeBigInteger(value: BigInteger, bitLength: Int): Unit
open fun writeBigIntegerList(bitLength: Int, vararg elements: BigInteger): Unit
open fun writeBigIntegerList(bitLength: Int, elements: MutableList<BigInteger>): Unit
open fun writeBoolean(value: Boolean): Unit
open fun writeBooleanList(vararg elements: Boolean): Unit
open fun writeBooleanList(elements: MutableList<Boolean>): Unit
open fun writeBytes(value: Bytes): Unit
open fun writeBytes(value: ByteArray): Unit
open fun writeBytesList(vararg elements: Bytes): Unit
open fun writeBytesList(elements: MutableList<out Bytes>): Unit
open fun writeFixedBytes(byteLength: Int, value: Bytes): Unit
open fun writeFixedBytesList(byteLength: Int, elements: MutableList<out Bytes>): Unit
open fun writeFixedBytesVector(elements: MutableList<out Bytes>): Unit
open fun writeHash(hash: Bytes): Unit
open fun writeHashList(vararg elements: Bytes): Unit
open fun writeHashList(elements: MutableList<out Bytes>): Unit
open fun writeInt(value: Int, bitLength: Int): Unit
open fun writeInt16(value: Int): Unit
open fun writeInt16List(vararg elements: Int): Unit
open fun writeInt16List(elements: MutableList<Int>): Unit
open fun writeInt32(value: Int): Unit
open fun writeInt32List(vararg elements: Int): Unit
open fun writeInt32List(elements: MutableList<Int>): Unit
open fun writeInt64(value: Long): Unit
open fun writeInt64List(vararg elements: Long): Unit
open fun writeInt64List(elements: MutableList<Long>): Unit
open fun writeInt8(value: Int): Unit
open fun writeInt8List(vararg elements: Int): Unit
open fun writeInt8List(elements: MutableList<Int>): Unit
open fun writeIntList(bitLength: Int, vararg elements: Int): Unit
open fun writeIntList(bitLength: Int, elements: MutableList<Int>): Unit
open fun writeLong(value: Long, bitLength: Int): Unit
open fun writeLongIntList(bitLength: Int, vararg elements: Long): Unit
open fun writeLongIntList(bitLength: Int, elements: MutableList<Long>): Unit
abstract fun writeSSZ(value: Bytes): Unit
open fun writeSSZ(value: ByteArray): Unit
open fun writeString(str: String): Unit
open fun writeStringList(vararg elements: String): Unit
open fun writeStringList(elements: MutableList<String>): Unit
open fun writeUBigInteger(value: BigInteger, bitLength: Int): Unit
open fun writeUInt(value: Int, bitLength: Int): Unit
open fun writeUInt16(value: Int): Unit
open fun writeUInt16List(vararg elements: Int): Unit
open fun writeUInt16List(elements: MutableList<Int>): Unit
open fun writeUInt256(value: UInt256): Unit
open fun writeUInt256List(vararg elements: UInt256): Unit
open fun writeUInt256List(elements: MutableList<UInt256>): Unit
open fun writeUInt32(value: Long): Unit
open fun writeUInt32List(vararg elements: Long): Unit
open fun writeUInt32List(elements: MutableList<Long>): Unit
open fun writeUInt384(value: UInt384): Unit
open fun writeUInt384List(elements: MutableList<UInt384>): Unit
open fun writeUInt384List(vararg elements: UInt384): Unit
open fun writeUInt64(value: Long): Unit
open fun writeUInt64List(vararg elements: Long): Unit
open fun writeUInt64List(elements: MutableList<Long>): Unit
open fun writeUInt8(value: Int): Unit
open fun writeUInt8List(vararg elements: Int): Unit
open fun writeUInt8List(elements: MutableList<Int>): Unit
open fun writeUIntList(bitLength: Int, vararg elements: Int): Unit
open fun writeUIntList(bitLength: Int, elements: MutableList<Int>): Unit
open fun writeULong(value: Long, bitLength: Int): Unit
open fun writeULongIntList(bitLength: Int, vararg elements: Long): Unit
open fun writeULongIntList(bitLength: Int, elements: MutableList<Long>): Unit
open fun writeVector(elements: MutableList<out Bytes>): Unit