summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pack.rb10
1 files changed, 10 insertions, 0 deletions
@@ -33,6 +33,16 @@ class Array
# the offset, the rest of <i>offsetOfBuffer</i> are overwritten by the result.
# If it's shorter, the gap is filled with ``<code>\0</code>''.
#
# Note that ``buffer:'' option does not guarantee not to allocate memory
# in +pack+. If the capacity of <i>aBufferString</i> is not enough,
# +pack+ allocates memory.