Changeset 4934


Ignore:
Timestamp:
Jul 29, 2006, 7:41:56 AM (18 years ago)
Author:
Gary Byers
Message:

STREAM-WRITE-BYTE, STREAM-WRITE-IVECTOR.
:BASIC defaults to T in OPEN; BASIC-FILE-STREAM probably still needs READ/WRITE-
SEQUENCE support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-streams.lisp

    r4928 r4934  
    23722372    (%ioblock-write-byte ioblock byte)))
    23732373
     2374(defmethod stream-write-byte ((stream basic-binary-output-stream) byte)
     2375  (let* ((ioblock (basic-stream-ioblock stream)))
     2376    (with-ioblock-output-locked (ioblock)
     2377      (%ioblock-write-byte ioblock byte))))
     2378
    23742379(defmethod stream-write-char ((stream buffered-character-output-stream-mixin) char)
    23752380  (with-stream-ioblock-output (ioblock stream :speedy t)
     
    24762481  (with-stream-ioblock-output (ioblock s :speedy t)
    24772482    (%ioblock-out-ivect ioblock iv start length)))
     2483
     2484(defmethod stream-write-ivector ((s basic-output-stream)
     2485                                 iv start length)
     2486  (let* ((ioblock (basic-stream-ioblock s)))
     2487    (with-ioblock-output-locked (ioblock)
     2488      (%ioblock-out-ivect ioblock iv start length))))
     2489
    24782490
    24792491(defmethod stream-read-ivector ((s buffered-character-input-stream-mixin)
     
    29062918                      (elements-per-buffer *elements-per-buffer*)
    29072919                      (sharing :private)
    2908                       (basic nil))
     2920                      (basic t))
    29092921  "Return a stream which reads from or writes to FILENAME.
    29102922  Defined keywords:
Note: See TracChangeset for help on using the changeset viewer.