Changeset 33038 in project


Ignore:
Timestamp:
12/29/15 18:23:05 (6 years ago)
Author:
Ivan Raikov
Message:

added some clarifications to the byte-blob doc [thanks to joerg for pointing out the issues]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/byte-blob

    r32603 r33038  
    66=== Description
    77
    8 {{byte-blob}} is a library of routines for manipulating byte vectors
    9 encoded as blobs.
    10 
     8{{byte-blob}} aims to provide a SRFI-1-inspired API for manipulating
     9byte vectors encoded as blobs. In addition it borrows inspiration from
     10the Haskell
     11[[http://hackage.haskell.org/package/bytestring-0.9.2.1/docs/Data-ByteString.html|bytestring]]
     12library.
    1113
    1214=== Library Procedures
     
    167169<procedure>(byte-blob-read PORT N) => BYTE-BLOB</procedure>
    168170
    169 Reads a byte-blob of length {{N}} from the given port.
     171Reads a byte-blob of length {{N}} from the given port.  Currently, the
     172port must support the {{port->fileno}} procedure, which means that
     173string ports are not supported.
    170174
    171175<procedure>(byte-blob-write PORT BYTE-BLOB) => UNDEFINED</procedure>
    172176
    173 Writes the given byte-blob to the given port.
     177Writes the given byte-blob to the given port.  Currently, the port
     178must support the {{port->fileno}} procedure, which means that string
     179ports are not supported. 
    174180
    175181==== SRFI-4 transformers
     
    216222
    217223Based on ideas from the Haskell
    218 [[http://www.cse.unsw.edu.au/~dons/fps.html|bytestring]] library. 
     224[[http://hackage.haskell.org/package/bytestring-0.9.2.1/docs/Data-ByteString.html|bytestring]] library. 
    219225
    220226The code for {{byte-blob-find}} is based on code from the Haskell Text
Note: See TracChangeset for help on using the changeset viewer.