class RawType extends DbpfType
A raw type that does not represent any specific format. Its data is backed by an array. As such, it is also suited as a super class of specialized types which are backed by an array.
Instances of this class my be obtained via the companion object.
- Source
- types.scala
- Note
This is one of the few spots where the raw backing array gets exposed. If instances of this class or created from instances of this class are meant to be immutable, it is required to ensure that this array does not get modified.
- Alphabetic
- By Inheritance
- RawType
- DbpfType
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def convert[B <: DbpfType](implicit eh: ExceptionHandler, conv: Converter[DbpfType, B]): ![B, DbpfDecodeFailedException]
Deprecated: Prefer
convertToinstead.Deprecated: Prefer
convertToinstead.Converts this type to
B. The implicit converter is usually provided by the companion object ofB.An
ExceptionHandlerneeds to be brought into scope via imports (eitherstrategy.throwExceptionsorstrategy.captureExceptionsfrom thescdbpfpackage).- B
the type which this type gets converted to
- Definition Classes
- DbpfType
- Exceptions thrown
DbpfDecodeFailedExceptionif this type cannot be converted to typeBstructurally
- def convertTo[B <: DbpfType](dbpfType: DbpfTypeCompanion[B])(implicit eh: ExceptionHandler): ![B, DbpfDecodeFailedException]
Convert this type to
B.Convert this type to
B.An
ExceptionHandlerneeds to be brought into scope via imports (eitherstrategy.throwExceptionsorstrategy.captureExceptionsfrom thescdbpfpackage).- B
the type which this type gets converted to
- dbpfType
(the companion object of) the type which this type gets converted to
- Definition Classes
- DbpfType
- Exceptions thrown
DbpfDecodeFailedExceptionif this type cannot be converted to typeBstructurally
- val data: Array[Byte]
the uncompressed raw byte data of the entry
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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()
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()