final class RawEntry extends DbpfEntry
A buffered entry whose raw byte data is held in an array, that is, the exact data that would be written to a file (compressed or uncompressed).
This differs from a BufferedEntry in that the latter always holds the
uncompressed data. Thus, a BufferedEntry
is suited for access and
modification of the content, but a RawEntry
is usually suitable for just
holding the data in memory, as creating the input does not require an
intermediate compression. If the data is not compressed, this distinction
is not as important.
Instances of this class are immutable, if the data it was created from was.
Note that conversion between RawEntries
and BufferedEntries
references the same backing array if possible. If created from a
StreamedEntry, a new data array will be created, hence, the
entry will be immutable.
- Source
- entries.scala
- See also
- Alphabetic
- By Inheritance
- RawEntry
- DbpfEntry
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native()
- def compressed: Boolean
-
def
copy(tgi: Tgi): RawEntry
Creates a new entry with a different
tgi
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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()
-
def
input(): Input[Byte]
the byte input that provides the raw byte data that gets written to DBPF files
-
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
-
val
tgi: Tgi
the TGI of this entry
-
def
toBufferedEntry(implicit eh: ExceptionHandler): ![BufferedEntry[DbpfType], DbpfIoException]
Converts this entry to a
BufferedEntry
. -
def
toRawEntry(implicit eh: ExceptionHandler): ![RawEntry, DbpfIoException]
Converts this entry to a
RawEntry
. -
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
- @throws( ... ) @native()