|
Halfs.Buffer | Portability | GHC | Stability | alpha | Maintainer | Isaac Jones <ijones@galois.com> |
|
|
|
Description |
Explanation: The Buffer represents the filesystem's IO buffer.
BinHandle for the FS. All of the conversion to-and-from strings and
cstrings assume that each byte interpreted is a Char. The
conversion functions which don't take a length assume that the
entire buffer is a string. Use get if you have a string whose
length is stored at the beginning. There are functions for taking
a certain number of characters and interpreting them as strings,
however.
FIX: Clean up types.
|
|
Synopsis |
|
|
|
Documentation |
|
|
|
|
Convert this string into a file buffer. Starts at the beginning
of the buffer.
|
|
|
Allocate a new buffer to fit this entire string.
|
|
|
Extract sz characters from this buffer and interpret them as a
string. Starts at beginning of buffer.
|
|
|
Evaluate this entire buffer as a string, starting from the beginning.
|
|
|
Allocate a new buffer of the given size and perform the given
function on that buffer. FIX: Free the buffer when done?
|
|
|
Convert this Halfs Buffer to a C Buffer, starting at the current
pointer. The buffer's pointer will be returned to its location.
|
|
|
Convert this C buffer to a Halfs Buffer, starting at the current
pointer. The buffer's pointer will be returned to its location.
|
|
|
Move the buffer's pointer forward.
|
|
|
Seek forward or backward on this buffer.
|
|
|
Get the BinHandle out of this buffer.
|
|
|
|
|
|
Produced by Haddock version 2.4.2 |