Module: vertx-js/buffer

Classes

Buffer

Methods

(static) Buffer.buffer(string, enc) → {Buffer}

Create a new buffer from a string and using the specified encoding. The string will be encoded into the buffer using the specified encoding.
Parameters:
Name Type Description
string string the string
enc string
Source:
Returns:
the buffer
Type
Buffer