com.objsys.asn1j.runtime
Class Asn1JsonOutputBuffer

java.lang.Object
  extended by java.io.Writer
      extended by com.objsys.asn1j.runtime.Asn1CharOutputStream
          extended by com.objsys.asn1j.runtime.Asn1JsonOutputStream
              extended by com.objsys.asn1j.runtime.Asn1JsonOutputBuffer
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class Asn1JsonOutputBuffer
extends Asn1JsonOutputStream

A byte-array backed Asn1JsonOutputStream that adds a getBytes method.


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
Asn1JsonOutputBuffer()
          Create an Asn1JsonOutputBuffer that will encode to UTF-8.
 
Method Summary
 byte[] getBytes()
           
 
Methods inherited from class com.objsys.asn1j.runtime.Asn1JsonOutputStream
encodeString
 
Methods inherited from class com.objsys.asn1j.runtime.Asn1CharOutputStream
close, decrLevel, flush, incrLevel, indent, setWriteWhitespace, write
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Asn1JsonOutputBuffer

public Asn1JsonOutputBuffer()
Create an Asn1JsonOutputBuffer that will encode to UTF-8.

Method Detail

getBytes

public byte[] getBytes()