logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

base16384 - Encode binary files to printable utf16be

Author

       This manual page contributed by Fumiama Minamoto.

Bugs

       There  are currently no known bugs in this application. If you have found them, please contact the author
       on github.

Description

       There  are 16384 Chinese characters ( from 4E00 to 8DFF ) as the alphabet , just like what base64 did. If
       length of the data has a remainder after mod 7, an unicode Chinese character 3Dxx  will  be  appended  to
       present it with xx ranging from 01 to 06

Exit Status

0    Exit on success.

       1    Get file size error.

       2    Fopen output file error.

       3    Fopen input file error.

       4    Write file error.

       5    Open input file error.

       6    Map input file error.

       7    Write file error in mmap.

       8    Invalid input/output filename.

       9    Invalid commandline parameter.

       10   Invalid decoding checksum.

Name

       base16384 - Encode binary files to printable utf16be

Options

-e   Read  data  from  inputfile and encode them into outputfile. It's the default option when neither -e
            nor -d is specified.

       -d   Read data from inputfile and decode them into outputfile.

       -t   Show spend time.

       -n   Do not write utf16be file header 0xFEFF to the output.

       -c   Embed  or  validate  checksum  in  remainder  when  using   stdin   or   stdout   or   inputsize   >
            _BASE16384_ENCBUFSZ.

       -C   Do -c forcely.

       inputfile
            An absolute or relative file path. Specially, pass - to read from stdin.

       outputfile
            An absolute or relative file path. Specially, pass - to write to stdout.

See Also

       https://github.com/fumiama/base16384

Synopsis

base16384 -[ed][t][n][cC] <inputfile> <outputfile>

See Also