diff options
author | dos-reis <gdr@axiomatics.org> | 2008-12-27 02:20:07 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-12-27 02:20:07 +0000 |
commit | fdc64c2abcdf53d9afee4541503d1d17763ee92c (patch) | |
tree | f15a829314e96145be04e1eeeee3a16049faa572 /src/algebra/data.spad.pamphlet | |
parent | fb209a840dc764bdfa285ad3cb7575df21a43289 (diff) | |
download | open-axiom-fdc64c2abcdf53d9afee4541503d1d17763ee92c.tar.gz |
* algebra/net.spad.pamphlet (readBytes!$InputByteConduit): Set
length of buffer to count of bytes read.
* algebra/si.spad.pamphlet (SingleInteger): Now formally subdomain
of Integer.
Diffstat (limited to 'src/algebra/data.spad.pamphlet')
-rw-r--r-- | src/algebra/data.spad.pamphlet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/data.spad.pamphlet b/src/algebra/data.spad.pamphlet index 0e2a8863..123948b3 100644 --- a/src/algebra/data.spad.pamphlet +++ b/src/algebra/data.spad.pamphlet @@ -73,10 +73,10 @@ import Byte ++ Related Constructor: ++ Description: ++ ByteBuffer provides datatype for buffers of bytes. This domain -++ differs from PrimitiveArray Byte in that it has it is not as rigid -++ as PrimitiveArray Byte is. That is, the typical use of +++ differs from PrimitiveArray Byte in that it is not as rigid +++ as PrimitiveArray Byte. That is, the typical use of ++ ByteBuffer is to pre-allocate a vector of Byte of some capacity -++ `c'. The array can then store up to `c' bytes. The actual +++ `n'. The array can then store up to `n' bytes. The actual ++ interesting bytes count (the length of the buffer) is therefore ++ different from the capacity. The length is no more than the ++ capacity, but it can be set dynamically as needed. This |