asArea

inline fun ByteArray.asArea(size: Int, offset: Int = 0): ByteArea

Creates ByteArea for this with specified size and offset.