chainline-contracts / chainline.contracts / HubContract / take

take

fun ByteArray.take(count: Int): ByteArray (source)

Takes a number of bytes from the start of a ByteArray.

Parameters

count - the number of bytes to take

Return
the extracted bytes