diff options
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 |