MemoryOutputStream (apache-cassandra API)
Date: 2012-05-04

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cassandra.io.util
Class MemoryOutputStream

    java.lang.Object
      java.io.OutputStream
          org.apache.cassandra.io.util.MemoryOutputStream

All Implemented Interfaces:
  java.io.Closeable, java.io.Flushable

    public class MemoryOutputStream

extends java.io.OutputStream

This class provides a way to stream the writes into the `Memory`

Constructor Summary
`MemoryOutputStream(com.sun.jna.Memory mem)`

Method Summary
`int` | `position()`
`void` | `write(int b)`

Methods inherited from class java.io.OutputStream
`close, flush, write, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MemoryOutputStream

    public MemoryOutputStream(com.sun.jna.Memory mem)

Method Detail

### write

    public void write(int b)

  Specified by:
    `write` in class `java.io.OutputStream`

### position

    public int position()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 The Apache Software Foundation