Inherited Attributes |
Attributes inherited from: Object hash , string |
Methods | |
buffer | shared Buffer buffer() Create a new, empty buffer. |
buffer | shared Buffer buffer(Integer initialSizeHint) Create a new buffer given the initial size hint. If you know the buffer will require a certain size, providing the hint can prevent unnecessary re-allocations as the buffer is written to and resized. Parameters:
|
buffer | shared Buffer buffer(String string) Create a new buffer from a string. The string will be UTF-8 encoded into the buffer. Parameters:
|
buffer | shared Buffer buffer(String string, String enc) 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:
|
Inherited Methods |
Methods inherited from: Object equals |