org.exist.storage.io
Class VariableByteOutputStream
java.lang.Object
java.io.OutputStream
org.exist.storage.io.VariableByteOutputStream
- public class VariableByteOutputStream
- extends java.io.OutputStream
A byte array output stream using variable byte encoding.
- Author:
- wolf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buf
protected FastByteBuffer buf
VariableByteOutputStream
public VariableByteOutputStream()
VariableByteOutputStream
public VariableByteOutputStream(int size)
clear
public void clear()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
position
public int position()
toByteArray
public byte[] toByteArray()
data
public ByteArray data()
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b)
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(ByteArray b)
writeByte
public void writeByte(byte b)
writeShort
public void writeShort(int s)
writeInt
public void writeInt(int i)
writeFixedInt
public void writeFixedInt(int i)
writeFixedInt
public void writeFixedInt(int position,
int i)
writeInt
public void writeInt(int position,
int i)
writeLong
public void writeLong(long l)
writeFixedLong
public void writeFixedLong(long l)
writeUTF
public void writeUTF(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.