Gentee Programming Language > Documentation > Libraries Download documentation

buf.expand

The method increases the size of memory allocated for the object.
 
buf buf.expand(
      uint   size
)

Parameters

sizeThe requested size of memory. If it is less than the current size, nothing happens. If the size is increased, the current data is saved.

Return value

Returns the object which method has been called.

See also

    Buffer - binary data


 Copyright © 2004-2006 Gentee Inc. All rights reserved.