#!/bin/sh # # Written by Dridi Boukelmoune # # This file is in the public domain. # # 5.2. String Literal Representation # # [...] # # Upon decoding, an incomplete code at the end of the encoded data is # to be considered as padding and discarded. A padding strictly longer # than 7 bits MUST be treated as a decoding error. A padding not # corresponding to the most significant bits of the code for the EOS # symbol MUST be treated as a decoding error. A Huffman-encoded string # literal containing the EOS symbol MUST be treated as a decoding # error. . "$(dirname "$0")"/common.sh mk_msg