zircon.core
/
org.hexworks.zircon.internal.util.rex
jvm
Package org.
hexworks.
zircon.
internal.
util.
rex
Types
Functions
Types
REXCell
Link copied to clipboard
jvm
data class
REXCell
(character:
Char
, foregroundColor:
TileColor
, backgroundColor:
TileColor
)
Content copied to clipboard
Represents a CP437 character on a REX Paint
REXLayer
.
REXFile
Link copied to clipboard
jvm
data class
REXFile
(version:
Int
, numberOfLayers:
Int
, layers:
List
<
REXLayer
>)
Content copied to clipboard
Represents a REX Paint File, which contains version and
REXLayer
information.
REXLayer
Link copied to clipboard
jvm
data class
REXLayer
(width:
Int
, height:
Int
, cells:
List
<
REXCell
>)
Content copied to clipboard
Represents a REX Paint Layer, which contains its size information (width, height) and a
List
of
REXCell
s.
Functions
decompressGZIPByteArray
Link copied to clipboard
jvm
fun
decompressGZIPByteArray
(compressedData:
ByteArray
):
ByteArray
Content copied to clipboard
Takes a GZIP-compressed
ByteArray
and returns it decompressed.
unZipIt
Link copied to clipboard
jvm
fun
unZipIt
(zipSource:
InputStream
, outputFolder:
File
):
List
<
File
>
Content copied to clipboard