import lz4
    const LZ4_OK            = 0
    const LZ4_INVALID       = -1
    const LZ4_WRONG_VERSION = -2
    const LZ4_NOT_64K       = -3
    struc t_lz4header
        word lz4magic[2]
        byte lz4FLG
        byte lz4BD
    end
    predef lz4Unpack(seq, seqend, buff, buffend)
    predef lz4Read(filestr, dstbuf, dstend, unpackbuf, unpackend)#1
end
