From fdc64c2abcdf53d9afee4541503d1d17763ee92c Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 27 Dec 2008 02:20:07 +0000 Subject: * 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. --- src/algebra/data.spad.pamphlet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/algebra/data.spad.pamphlet') 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 -- cgit v1.2.3