time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (607B)


      1 
      2 {{alias}}( size )
      3     Allocates a buffer having a specified number of bytes.
      4 
      5     The underlying memory of returned buffers is not initialized. Memory
      6     contents are unknown and may contain sensitive data.
      7 
      8     When the size is less than half a buffer pool size, memory is allocated from
      9     the buffer pool for faster allocation of Buffer instances.
     10 
     11     Parameters
     12     ----------
     13     size: integer
     14         Number of bytes to allocate.
     15 
     16     Returns
     17     -------
     18     out: Buffer
     19         Buffer instance.
     20 
     21     Examples
     22     --------
     23     > var buf = {{alias}}( 100 )
     24     <Buffer>
     25 
     26     See Also
     27     --------
     28