## Uses of Interface
io.vertx.core.buffer.Buffer

- Packages that use Buffer
  Package | Description
  --- | ---
  io.vertx.core.buffer |
  io.vertx.core.datagram |
  io.vertx.core.eventbus |
  io.vertx.core.file |
  io.vertx.core.http |
  io.vertx.core.json |
  io.vertx.core.net |
  io.vertx.core.parsetools |
  io.vertx.core.spi |
  io.vertx.ext.auth |
  io.vertx.ext.mail |
  io.vertx.ext.web |
  io.vertx.ext.web.handler.sockjs |
  io.vertx.ext.web.templ |
  io.vertx.rx.java |
  io.vertx.rxjava.core.buffer |

- - ### Uses of Buffer in io.vertx.core.buffer

    Methods in io.vertx.core.buffer that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | Buffer.`appendBuffer(Buffer buff)` Appends the specified `Buffer` to the end of this Buffer.
    `Buffer` | Buffer.`appendBuffer(Buffer buff, int offset, int len)` Appends the specified `Buffer` starting at the `offset` using `len` to the end of this Buffer.
    `Buffer` | Buffer.`appendByte(byte b)` Appends the specified `byte` to the end of the Buffer.
    `Buffer` | Buffer.`appendBytes(byte[] bytes)` Appends the specified `byte[]` to the end of the Buffer.
    `Buffer` | Buffer.`appendBytes(byte[] bytes, int offset, int len)` Appends the specified number of bytes from `byte[]` to the end of the Buffer, starting at the given offset.
    `Buffer` | Buffer.`appendDouble(double d)` Appends the specified `double` to the end of the Buffer.
    `Buffer` | Buffer.`appendFloat(float f)` Appends the specified `float` to the end of the Buffer.
    `Buffer` | Buffer.`appendInt(int i)` Appends the specified `int` to the end of the Buffer.
    `Buffer` | Buffer.`appendLong(long l)` Appends the specified `long` to the end of the Buffer.
    `Buffer` | Buffer.`appendShort(short s)` Appends the specified `short` to the end of the Buffer.The buffer will expand as necessary to accommodate any bytes written.
    `Buffer` | Buffer.`appendString(String str)` Appends the specified `String str` to the end of the Buffer with UTF-8 encoding.
    `Buffer` | Buffer.`appendString(String str, String enc)` Appends the specified `String` to the end of the Buffer with the encoding as specified by `enc`.
    `static Buffer` | Buffer.`buffer()` Create a new, empty buffer.
    `static Buffer` | Buffer.`buffer(byte[] bytes)` Create a new buffer from a byte[].
    `static Buffer` | Buffer.`buffer(io.netty.buffer.ByteBuf byteBuf)` Create a new buffer from a Netty `ByteBuf`.
    `static Buffer` | Buffer.`buffer(int initialSizeHint)` Create a new buffer given the initial size hint.
    `static Buffer` | Buffer.`buffer(String string)` Create a new buffer from a string.
    `static Buffer` | Buffer.`buffer(String string, String enc)` Create a new buffer from a string and using the specified encoding.
    `Buffer` | Buffer.`copy()` Returns a copy of the entire Buffer.
    `Buffer` | Buffer.`getBuffer(int start, int end)` Returns a copy of a sub-sequence the Buffer as a `Buffer` starting at position `start` and ending at position `end - 1`
    `Buffer` | Buffer.`setBuffer(int pos, Buffer b)` Sets the bytes at position `pos` in the Buffer to the bytes represented by the `Buffer b`.
    `Buffer` | Buffer.`setBuffer(int pos, Buffer b, int offset, int len)` Sets the bytes at position `pos` in the Buffer to the bytes represented by the `Buffer b` on the given `offset` and `len`.
    `Buffer` | Buffer.`setByte(int pos, byte b)` Sets the `byte` at position `pos` in the Buffer to the value `b`.
    `Buffer` | Buffer.`setBytes(int pos, byte[] b)` Sets the bytes at position `pos` in the Buffer to the bytes represented by the `byte[] b`.
    `Buffer` | Buffer.`setBytes(int pos, byte[] b, int offset, int len)` Sets the given number of bytes at position `pos` in the Buffer to the bytes represented by the `byte[] b`.
    `Buffer` | Buffer.`setBytes(int pos, ByteBuffer b)` Sets the bytes at position `pos` in the Buffer to the bytes represented by the `ByteBuffer b`.
    `Buffer` | Buffer.`setDouble(int pos, double d)` Sets the `double` at position `pos` in the Buffer to the value `d`.
    `Buffer` | Buffer.`setFloat(int pos, float f)` Sets the `float` at position `pos` in the Buffer to the value `f`.
    `Buffer` | Buffer.`setInt(int pos, int i)` Sets the `int` at position `pos` in the Buffer to the value `i`.
    `Buffer` | Buffer.`setLong(int pos, long l)` Sets the `long` at position `pos` in the Buffer to the value `l`.
    `Buffer` | Buffer.`setShort(int pos, short s)` Sets the `short` at position `pos` in the Buffer to the value `s`.
    `Buffer` | Buffer.`setString(int pos, String str)` Sets the bytes at position `pos` in the Buffer to the value of `str` encoded in UTF-8.
    `Buffer` | Buffer.`setString(int pos, String str, String enc)` Sets the bytes at position `pos` in the Buffer to the value of `str` encoded in encoding `enc`.
    `Buffer` | Buffer.`slice()` Returns a slice of this buffer.
    `Buffer` | Buffer.`slice(int start, int end)` Returns a slice of this buffer.

    Methods in io.vertx.core.buffer with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | Buffer.`appendBuffer(Buffer buff)` Appends the specified `Buffer` to the end of this Buffer.
    `Buffer` | Buffer.`appendBuffer(Buffer buff, int offset, int len)` Appends the specified `Buffer` starting at the `offset` using `len` to the end of this Buffer.
    `Buffer` | Buffer.`setBuffer(int pos, Buffer b)` Sets the bytes at position `pos` in the Buffer to the bytes represented by the `Buffer b`.
    `Buffer` | Buffer.`setBuffer(int pos, Buffer b, int offset, int len)` Sets the bytes at position `pos` in the Buffer to the bytes represented by the `Buffer b` on the given `offset` and `len`.

  - ### Uses of Buffer in io.vertx.core.datagram

    Methods in io.vertx.core.datagram that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | DatagramPacket.`data()` Returns the data of the `DatagramPacket`

    Methods in io.vertx.core.datagram with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `DatagramSocket` | DatagramSocket.`send(Buffer packet, int port, String host, Handler<AsyncResult<DatagramSocket>> handler)` Write the given `Buffer` to the `SocketAddress`.
    `PacketWritestream` | PacketWritestream.`write(Buffer data)`

  - ### Uses of Buffer in io.vertx.core.eventbus

    Methods in io.vertx.core.eventbus with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `R` | MessageCodec.`decodeFromWire(int pos, Buffer buffer)` Called by Vert.x when a message is decoded from the wire.
    `void` | MessageCodec.`encodeToWire(Buffer buffer, S s)` Called by Vert.x when marshalling a message to the wire.

  - ### Uses of Buffer in io.vertx.core.file

    Methods in io.vertx.core.file that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | FileSystem.`readFileBlocking(String path)` Blocking version of `FileSystem.readFile(String, Handler)`

    Methods in io.vertx.core.file with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `AsyncFile` | AsyncFile.`read(Buffer buffer, int offset, long position, int length, Handler<AsyncResult<Buffer>> handler)` Reads `length` bytes of data from the file at position `position` in the file, asynchronously.
    `AsyncFile` | AsyncFile.`write(Buffer data)`
    `AsyncFile` | AsyncFile.`write(Buffer buffer, long position, Handler<AsyncResult<Void>> handler)` Write a `Buffer` to the file at position `position` in the file, asynchronously.
    `FileSystem` | FileSystem.`writeFile(String path, Buffer data, Handler<AsyncResult<Void>> handler)` Creates the file, and writes the specified `Buffer data` to the file represented by the path `path`, asynchronously.
    `FileSystem` | FileSystem.`writeFileBlocking(String path, Buffer data)` Blocking version of `FileSystem.writeFile(String, Buffer, Handler)`

    Method parameters in io.vertx.core.file with type arguments of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `AsyncFile` | AsyncFile.`handler(Handler<Buffer> handler)`
    `AsyncFile` | AsyncFile.`read(Buffer buffer, int offset, long position, int length, Handler<AsyncResult<Buffer>> handler)` Reads `length` bytes of data from the file at position `position` in the file, asynchronously.
    `FileSystem` | FileSystem.`readFile(String path, Handler<AsyncResult<Buffer>> handler)` Reads the entire file as represented by the path `path` as a `Buffer`, asynchronously.

  - ### Uses of Buffer in io.vertx.core.http

    Methods in io.vertx.core.http that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | WebSocketFrame.`binaryData()`

    Methods in io.vertx.core.http with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `HttpClientOptions` | HttpClientOptions.`addCrlValue(Buffer crlValue)`
    `HttpServerOptions` | HttpServerOptions.`addCrlValue(Buffer crlValue)`
    `static WebSocketFrame` | WebSocketFrame.`binaryFrame(Buffer data, boolean isFinal)` Create a binary WebSocket frame.
    `static WebSocketFrame` | WebSocketFrame.`continuationFrame(Buffer data, boolean isFinal)` Create a continuation frame
    `void` | HttpClientRequest.`end(Buffer chunk)` Same as `HttpClientRequest.end()` but writes some data to the request body before ending.
    `void` | HttpServerResponse.`end(Buffer chunk)` Same as `HttpServerResponse.end()` but writes some data to the response body before ending.
    `HttpClientRequest` | HttpClientRequest.`write(Buffer data)`
    `HttpServerResponse` | HttpServerResponse.`write(Buffer data)`
    `ServerWebSocket` | ServerWebSocket.`write(Buffer data)`
    `WebSocket` | WebSocket.`write(Buffer data)`
    `WebSocketBase` | WebSocketBase.`write(Buffer data)`
    `ServerWebSocket` | ServerWebSocket.`writeBinaryMessage(Buffer data)`
    `WebSocket` | WebSocket.`writeBinaryMessage(Buffer data)`
    `WebSocketBase` | WebSocketBase.`writeBinaryMessage(Buffer data)` Writes a (potentially large) piece of binary data to the connection.
    `ServerWebSocket` | ServerWebSocket.`writeFinalBinaryFrame(Buffer data)`
    `WebSocket` | WebSocket.`writeFinalBinaryFrame(Buffer data)`
    `WebSocketBase` | WebSocketBase.`writeFinalBinaryFrame(Buffer data)` Write a final WebSocket binary frame to the connection

    Method parameters in io.vertx.core.http with type arguments of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `HttpClientResponse` | HttpClientResponse.`bodyHandler(Handler<Buffer> bodyHandler)` Convenience method for receiving the entire request body in one piece.
    `HttpServerRequest` | HttpServerRequest.`bodyHandler(Handler<Buffer> bodyHandler)` Convenience method for receiving the entire request body in one piece.
    `HttpClientResponse` | HttpClientResponse.`handler(Handler<Buffer> handler)`
    `HttpServerFileUpload` | HttpServerFileUpload.`handler(Handler<Buffer> handler)`
    `HttpServerRequest` | HttpServerRequest.`handler(Handler<Buffer> handler)`
    `ServerWebSocket` | ServerWebSocket.`handler(Handler<Buffer> handler)`
    `WebSocket` | WebSocket.`handler(Handler<Buffer> handler)`
    `WebSocketBase` | WebSocketBase.`handler(Handler<Buffer> handler)`

  - ### Uses of Buffer in io.vertx.core.json

    Methods in io.vertx.core.json with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `int` | JsonArray.`readFromBuffer(int pos, Buffer buffer)`
    `int` | JsonObject.`readFromBuffer(int pos, Buffer buffer)`
    `void` | JsonArray.`writeToBuffer(Buffer buffer)`
    `void` | JsonObject.`writeToBuffer(Buffer buffer)`

  - ### Uses of Buffer in io.vertx.core.net

    Methods in io.vertx.core.net that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | PemKeyCertOptions.`getCertValue()` Get the certificate as a buffer
    `Buffer` | PemKeyCertOptions.`getKeyValue()` Get the key as a buffer
    `Buffer` | JksOptions.`getValue()` Get the key store as a buffer
    `Buffer` | PfxOptions.`getValue()` Get the store as a buffer

    Methods in io.vertx.core.net that return types with arguments of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `List<Buffer>` | PemTrustOptions.`getCertValues()`
    `List<Buffer>` | TCPSSLOptions.`getCrlValues()` Get the CRL values

    Methods in io.vertx.core.net with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `PemTrustOptions` | PemTrustOptions.`addCertValue(Buffer certValue)` Add a certificate value
    `NetClientOptions` | NetClientOptions.`addCrlValue(Buffer crlValue)`
    `NetServerOptions` | NetServerOptions.`addCrlValue(Buffer crlValue)`
    `TCPSSLOptions` | TCPSSLOptions.`addCrlValue(Buffer crlValue)` Add a CRL value
    `PemKeyCertOptions` | PemKeyCertOptions.`setCertValue(Buffer certValue)` Set the certificate as a buffer
    `PemKeyCertOptions` | PemKeyCertOptions.`setKeyValue(Buffer keyValue)` Set the key a a buffer
    `JksOptions` | JksOptions.`setValue(Buffer value)` Set the key store as a buffer
    `PfxOptions` | PfxOptions.`setValue(Buffer value)` Set the store as a buffer
    `NetSocket` | NetSocket.`write(Buffer data)`

    Method parameters in io.vertx.core.net with type arguments of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `NetSocket` | NetSocket.`handler(Handler<Buffer> handler)`

  - ### Uses of Buffer in io.vertx.core.parsetools

    Methods in io.vertx.core.parsetools with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `void` | RecordParser.`delimitedMode(Buffer delim)` Flip the parser into delimited mode, and where the delimiter can be represented by the delimiter `delim`.
    `void` | RecordParser.`handle(Buffer buffer)` This method is called to provide the parser with data.
    `static RecordParser` | RecordParser.`newDelimited(Buffer delim, Handler<Buffer> output)` Create a new `RecordParser` instance, initially in delimited mode, and where the delimiter can be represented by the `Buffer` delim.

    Method parameters in io.vertx.core.parsetools with type arguments of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `static RecordParser` | RecordParser.`newDelimited(Buffer delim, Handler<Buffer> output)` Create a new `RecordParser` instance, initially in delimited mode, and where the delimiter can be represented by the `Buffer` delim.
    `static RecordParser` | RecordParser.`newDelimited(String delim, Handler<Buffer> output)` Create a new `RecordParser` instance, initially in delimited mode, and where the delimiter can be represented by the String delim endcoded in latin-1 .
    `static RecordParser` | RecordParser.`newFixed(int size, Handler<Buffer> output)` Create a new `RecordParser` instance, initially in fixed size mode, and where the record size is specified by the `size` parameter.
    `void` | RecordParser.`setOutput(Handler<Buffer> output)`

  - ### Uses of Buffer in io.vertx.core.spi

    Methods in io.vertx.core.spi that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | BufferFactory.`buffer()`
    `Buffer` | BufferFactory.`buffer(byte[] bytes)`
    `Buffer` | BufferFactory.`buffer(io.netty.buffer.ByteBuf byteBuffer)`
    `Buffer` | BufferFactory.`buffer(int initialSizeHint)`
    `Buffer` | BufferFactory.`buffer(String str)`
    `Buffer` | BufferFactory.`buffer(String str, String enc)`

    Methods in io.vertx.core.spi with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `WebSocketFrame` | WebSocketFrameFactory.`binaryFrame(Buffer data, boolean isFinal)`
    `WebSocketFrame` | WebSocketFrameFactory.`continuationFrame(Buffer data, boolean isFinal)`

  - ### Uses of Buffer in io.vertx.ext.auth

    Methods in io.vertx.ext.auth with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `int` | AbstractUser.`readFromBuffer(int pos, Buffer buffer)`
    `void` | AbstractUser.`writeToBuffer(Buffer buff)`

  - ### Uses of Buffer in io.vertx.ext.mail

    Methods in io.vertx.ext.mail that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | MailAttachment.`getData()` get the data

    Methods in io.vertx.ext.mail with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `MailAttachment` | MailAttachment.`setData(Buffer data)` set the data

  - ### Uses of Buffer in io.vertx.ext.web

    Methods in io.vertx.ext.web that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | RoutingContext.`getBody()`

    Methods in io.vertx.ext.web with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `void` | RoutingContext.`setBody(Buffer body)` Set the body.

  - ### Uses of Buffer in io.vertx.ext.web.handler.sockjs

    Methods in io.vertx.ext.web.handler.sockjs with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `SockJSSocket` | SockJSSocket.`write(Buffer data)`

    Method parameters in io.vertx.ext.web.handler.sockjs with type arguments of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `SockJSSocket` | SockJSSocket.`handler(Handler<Buffer> handler)`

  - ### Uses of Buffer in io.vertx.ext.web.templ

    Method parameters in io.vertx.ext.web.templ with type arguments of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `void` | TemplateEngine.`render(RoutingContext context, String templateFileName, Handler<AsyncResult<Buffer>> handler)` Render

  - ### Uses of Buffer in io.vertx.rx.java

    Methods in io.vertx.rx.java that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `abstract Buffer` | UnmarshallerOperator.`unwrap(B buffer)`

    Methods in io.vertx.rx.java that return types with arguments of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `static <T> rx.Observable.Operator<T,Buffer>` | RxHelper.`unmarshaller(Class<T> mappedType)` Returns a json unmarshaller for the specified java type as a `Observable.Operator` instance. The marshaller can be used with the `Observable.lift(rx.Observable.Operator)` method to transform a Observable<Buffer> into a Observable<T>. The unmarshaller buffers the content until onComplete is called, then unmarshalling happens. Note that the returned observable will emit at most a single object.

  - ### Uses of Buffer in io.vertx.rxjava.core.buffer

    Methods in io.vertx.rxjava.core.buffer with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `static Buffer` | Buffer.`newInstance(Buffer arg)`

    Constructors in io.vertx.rxjava.core.buffer with parameters of type Buffer
    Constructor and Description
    `Buffer(Buffer delegate)`

Copyright © 2015. All Rights Reserved.