Gentee Programming Language > Documentation > Libraries Download documentation

buf.replace

The method overwrites data in an object.
 
buf buf.replace(
      uint   offset,
      uint   size,
      buf   value
)

Parameters

offsetThe offset of the data being overwritten.
sizeThe size of the data being overwritten.
valueThe buf object with new data.

Return value

Returns the object which method has been called.

See also

    Buffer - binary data


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