org.infinispan.io
Class MarshalledValueByteStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.infinispan.io.MarshalledValueByteStream
All Implemented Interfaces:
Closeable, Flushable
Direct Known Subclasses:
ExpandableMarshalledValueByteStream, ImmutableMarshalledValueByteStream

public abstract class MarshalledValueByteStream
extends OutputStream

A stream of bytes which can be written to, and the underlying byte array can be directly accessed.

Since:
5.1
Author:
Manik Surtani

Constructor Summary
MarshalledValueByteStream()
           
 
Method Summary
abstract  byte[] getRaw()
           
abstract  int size()
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarshalledValueByteStream

public MarshalledValueByteStream()
Method Detail

size

public abstract int size()

getRaw

public abstract byte[] getRaw()

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.