fun ByteArray.take(count: Int): ByteArray
Takes a number of bytes from the start of a ByteArray.
count - the number of bytes to take
count
Return the extracted bytes