summaryrefslogtreecommitdiffstats
path: root/txr-embedded-arg.txr
Commit message (Collapse)AuthorAgeFilesLines
* txr-embeded-arg utility: use FFI types and buffers.Kaz Kylheku2017-07-101-10/+7
| | | | | | | | * txr-embedded-arg.txr: Streamline the logic by using buffers and the FFI type (zarray 128 char) which converts between a null terminated buffer of 128 UTF-8 characters and a string. We get not only null termination, as before, but clean padding ith zeros up to the size of the 128 byte area.
* Use byte-oriented stream in binary editing utility.Kaz Kylheku2016-05-281-1/+2
| | | | | | | | * txr-embedded-arg.txr (stream-positioned-to-right-place): Call stream-set-prop to mark stream as byte oriented. This is for the sake of the MinGW port, where reading binary files with UTF-8 decoding can throw errors about unsupported Unicode characters (those beyond 0xFFFF).
* Provide the txr-embedded-arg.txr utility.Kaz Kylheku2016-05-251-0/+34
* txr-embedded-arg.txr: New file. * txr.1: Documented.