slice

abstract fun slice(start: Int? = null, end: Int? = null, type: String? = null): BufferAPI.Blob

Returns a copy of this blob between the requested indices, and optionally with a different type.