abstract class Canvas extends AutoCloseable
Canvas is an abstraction over large memory (heap or off-heap memory) buffer.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Canvas
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Canvas()
Abstract Value Members
- abstract def readBoolean(offset: Long): Boolean
- abstract def readByte(offset: Long): Byte
- abstract def readBytes(offset: Long, dest: Array[Byte], destOffset: Int, length: Int): Unit
- abstract def readBytes(offset: Long, dest: Canvas, destOffset: Long, length: Long): Unit
- abstract def readDouble(offset: Long): Double
- abstract def readFloat(offset: Long): Float
- abstract def readInt(offset: Long): Int
- abstract def readIntBigEndian(offset: Long): Int
- abstract def readLong(offset: Long): Long
- abstract def readLongBigEndian(offset: Long): Long
- abstract def readShort(offset: Long): Short
- abstract def release: Unit
- abstract def size: Long
- abstract def slice(offset: Long, length: Long): Canvas
- abstract def toByteArray: Array[Byte]
- abstract def writeBoolean(offset: Long, v: Boolean): Unit
- abstract def writeByte(offset: Long, v: Byte): Unit
- abstract def writeBytes(offset: Long, src: Canvas, srcOffset: Long, length: Long): Unit
- abstract def writeBytes(offset: Long, src: Array[Byte], srcOffset: Int, length: Int): Unit
- abstract def writeDouble(offset: Long, v: Double): Unit
- abstract def writeFloat(offset: Long, v: Float): Unit
- abstract def writeInt(offset: Long, v: Int): Unit
- abstract def writeIntBigEndian(offset: Long, v: Int): Unit
- abstract def writeLong(offset: Long, v: Long): Unit
- abstract def writeLongBigEndian(offset: Long, v: Long): Unit
- abstract def writeShort(offset: Long, v: Short): Unit
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(): Unit
- Definition Classes
- Canvas → AutoCloseable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def readBytes(offset: Long, length: Long): Array[Byte]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def writeBytes(offset: Long, src: Array[Byte]): Unit