Package org.hexworks.zircon.internal.util.rex

Types

REXCell
Link copied to clipboard
data class REXCell(character: Char, foregroundColor: TileColor, backgroundColor: TileColor)
Represents a CP437 character on a REX Paint REXLayer.
REXFile
Link copied to clipboard
data class REXFile(version: Int, numberOfLayers: Int, layers: List<REXLayer>)
Represents a REX Paint File, which contains version and REXLayer information.
REXLayer
Link copied to clipboard
data class REXLayer(width: Int, height: Int, cells: List<REXCell>)
Represents a REX Paint Layer, which contains its size information (width, height) and a List of REXCells.

Functions

decompressGZIPByteArray
Link copied to clipboard
fun decompressGZIPByteArray(compressedData: ByteArray): ByteArray
Takes a GZIP-compressed ByteArray and returns it decompressed.
unZipIt
Link copied to clipboard
fun unZipIt(zipSource: InputStream, outputFolder: File): List<File>