Byte array functions

# Name Description Complexity
1 drop(ByteVector, Int): ByteVector Drops the first n bytes of an array of bytes 1
2 dropRight(ByteVector, Int): ByteVector Drops the last n bytes of an array of bytes 19
3 size(ByteVector): Int Returns the size of an array of bytes 1
4 take(ByteVector, Int): ByteVector Takes the first n bytes from an array of bytes 1
5 takeRight(ByteVector, Int): ByteVector Takes the last n bytes from an array of bytes 19

drop(ByteVector, Int): ByteVector

Drops the first n bytes of an array of bytes.

drop(xs: ByteVector, number: Int): ByteVector

Parameters

xs: ByteVector

The array of bytes.

number: Int

The number n.

dropRight(ByteVector, Int): ByteVector

Drops the last n bytes of an array of bytes.

dropRight(xs: ByteVector, number: Int): ByteVector

Parameters

xs: ByteVector

The array of bytes.

number: Int

The number n.

size(ByteVector): Int

Returns the size of an array of bytes.

size(byteVector: ByteVector): Int

Parameters

byteVector: ByteVector

The array of bytes.

take(ByteVector, Int): ByteVector

Takes the first n bytes from an array of bytes.

take(xs: ByteVector, number: Int): ByteVector

Parameters

xs: ByteVector

The array of bytes.

number: Int

The number n.

takeRight(ByteVector, Int): ByteVector

Takes the last n bytes from an array of bytes.

takeRight(xs: ByteVector, number: Int): ByteVector

Parameters

xs: ByteVector

The array of bytes.

number: Int

The number n.

results matching ""

    No results matching ""