Additional operations on a Buffer with interoperability with ScalaNative PointerBuffers.
- Companion:
- object
class AnyVal
trait Matchable
class Any
Value members
Concrete methods
Tests whether this direct buffer has a valid associated scala.scalanative.unsafe.Ptr.
Tests whether this direct buffer has a valid associated scala.scalanative.unsafe.Ptr.
If this buffer is read-only, returns false.
scala.scalanative.unsafe.Ptr backing this direct buffer (optional operation).
scala.scalanative.unsafe.Ptr backing this direct buffer (optional operation).
- Throws:
- UnsupportedOperationException
If this buffer does not have a backing scala.scalanative.unsafe.Ptr, i.e., !hasPointer().