Companion

object Companion

Functions

Link copied to clipboard
fun prepareJs5Buffer(archive: Int, group: Int, input: ByteBuf, output: ByteBuf)

Prepares a JS5 buffer to be in a format read to be served to the clients, by splitting the payload up into chunks of 512 bytes, which each have a 0xFF terminator splitting them.

Link copied to clipboard