• mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
    [PATCH 5/5] Support `FILE-POSITION` on string streams. · 11e463d2
    From cb667c106187443ff2d00bace14f0ee0686fe2fd Mon Sep 17 00:00:00 2001
    Adds a custom, seekable writer to be able to go back in the written
    output for `STRING-OUTPUT-STREAM` - the input case is slightly less
    complex.
    ---
     build.xml                                          |   1 +
     src/org/armedbear/lisp/SeekableStringWriter.java   | 140 +++++++++++++++++++++
     src/org/armedbear/lisp/StringInputStream.java      |  43 ++++++-
     src/org/armedbear/lisp/StringOutputStream.java     |  35 +++++-
     test/lisp/abcl/misc-tests.lisp                     |  11 +-
     .../armedbear/lisp/SeekableStringWriterTest.java   |  19 +++
     6 files changed, 242 insertions(+), 7 deletions(-)
     create mode 100644 src/org/armedbear/lisp/SeekableStringWriter.java
     create mode 100644 test/src/org/armedbear/lisp/SeekableStringWriterTest.java
    11e463d2
Name
Last commit
Last update
contrib Loading commit data...
doc Loading commit data...
examples Loading commit data...
nbproject Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.dir-locals.el Loading commit data...
CHANGES Loading commit data...
COPYING Loading commit data...
MANUAL Loading commit data...
README Loading commit data...
abcl.asd Loading commit data...
abcl.bat.in Loading commit data...
abcl.in Loading commit data...
abcl.properties.in Loading commit data...
abcl.rdf Loading commit data...
build-abcl.lisp Loading commit data...
build-from-lisp.bash Loading commit data...
build-maven.xml Loading commit data...
build-snapshot.xml Loading commit data...
build.xml Loading commit data...
customizations.lisp.in Loading commit data...
install-sh Loading commit data...
make-jar.bat.in Loading commit data...
make-jar.in Loading commit data...
maven-release.txt Loading commit data...
netbeans-build.xml Loading commit data...
pom.xml Loading commit data...