com.thinkaurelius.titan.diskstorage

## Interface WriteBuffer

- All Known Subinterfaces:
    DataOutput
  All Known Implementing Classes:
    WriteByteBuffer

      public interface WriteBuffer

  A Buffer that allows simple writes and returns the result as a `StaticBuffer`.
  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getPosition()`
    `StaticBuffer` | `getStaticBuffer()`
    `StaticBuffer` | `getStaticBufferFlipBytes(int from, int to)`
    `WriteBuffer` | `putBoolean(boolean val)`
    `WriteBuffer` | `putByte(byte val)`
    `WriteBuffer` | `putBytes(byte[] val)`
    `WriteBuffer` | `putBytes(StaticBuffer val)`
    `WriteBuffer` | `putChar(char val)`
    `WriteBuffer` | `putDouble(double val)`
    `WriteBuffer` | `putFloat(float val)`
    `WriteBuffer` | `putInt(int val)`
    `WriteBuffer` | `putLong(long val)`
    `WriteBuffer` | `putShort(short val)`

- - ### Method Detail

    - #### putByte

          WriteBuffer putByte(byte val)

    - #### putBytes

          WriteBuffer putBytes(byte[] val)

    - #### putBytes

          WriteBuffer putBytes(StaticBuffer val)

    - #### putBoolean

          WriteBuffer putBoolean(boolean val)

    - #### putShort

          WriteBuffer putShort(short val)

    - #### putInt

          WriteBuffer putInt(int val)

    - #### putLong

          WriteBuffer putLong(long val)

    - #### putChar

          WriteBuffer putChar(char val)

    - #### putFloat

          WriteBuffer putFloat(float val)

    - #### putDouble

          WriteBuffer putDouble(double val)

    - #### getStaticBuffer

          StaticBuffer getStaticBuffer()

    - #### getPosition

          int getPosition()

    - #### getStaticBufferFlipBytes

          StaticBuffer getStaticBufferFlipBytes(int from,
                                              int to)

Copyright © 2012–2014. All rights reserved.