1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-10 21:50:25 +08:00

尝试修复#19

- 移除未使用的参数 int blen
- 完善文档、注释
- 完善文件名错误检测
- 修复 encbuf, decbuf 处理逻辑
This commit is contained in:
源文雨
2023-08-25 21:53:18 +08:00
parent 7897031513
commit 5dc272b8b7
7 changed files with 69 additions and 57 deletions

View File

@@ -3,7 +3,7 @@
base16384 \- Encode binary files to printable utf16be
.SH SYNOPSIS
.B base16384
-[e|d] <\fIinputfile\fR> <\fIoutputfile\fR>
-[e|d|t] <\fIinputfile\fR> <\fIoutputfile\fR>
.SH DESCRIPTION
.LP
There are
@@ -29,6 +29,12 @@ to
\fB\-e\fR
Read data from \fIinputfile\fR and encode them into \fIoutputfile\fR.
.TP 0.5i
\fB\-d\fR
Read data from \fIinputfile\fR and decode them into \fIoutputfile\fR.
.TP 0.5i
\fB\-t\fR
Show spend time.
.TP 0.5i
\fBinputfile\fR
An absolute or relative file path. Specially, pass - to read from stdin.
.TP 0.5i
@@ -59,6 +65,9 @@ Map input file error.
.TP 0.5i
\fB7\fR
Write file error in mmap.
.TP 0.5i
\fB8\fR
Invalid input/output filename.
.SH "SEE ALSO"
https://github.com/fumiama/base16384
.SH BUGS
@@ -68,7 +77,7 @@ on github.
.SH AUTHOR
This manual page contributed by Fumiama Minamoto.
.SH "COPYRIGHT"
Copyright \(co 2022, Fumiama Minamoto
Copyright \(co 2022-2023, Fumiama Minamoto
This file is part of
.IR "base16384" .
.LP