org.firebirdsql.gds
Class XdrOutputStream
java.lang.Object
org.firebirdsql.gds.XdrOutputStream
- public final class XdrOutputStream
- extends java.lang.Object
Describe class XdrOutputStream
here.
- Version:
- 1.0
- Author:
- Alejandro Alberola, David Jencks
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XdrOutputStream
public XdrOutputStream(java.io.OutputStream out)
writeBuffer
public void writeBuffer(byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException
writeBlobBuffer
public void writeBlobBuffer(byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException
writeString
public void writeString(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
writeString
public void writeString(java.lang.String s,
java.lang.String encoding)
throws java.io.IOException
- Deprecated. due to character translation feature use of this method
is discouraged
- Throws:
java.io.IOException
writeSet
public void writeSet(int type,
byte[] s)
throws java.io.IOException
- Throws:
java.io.IOException
writeTyped
public void writeTyped(int type,
Xdrable item)
throws java.io.IOException
- Throws:
java.io.IOException
writeSQLData
public void writeSQLData(XSQLDA xsqlda)
throws java.io.IOException
- Throws:
java.io.IOException
writeLong
public final void writeLong(long v)
throws java.io.IOException
- Throws:
java.io.IOException
writeInt
public final void writeInt(int v)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b,
int len,
int pad)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001 David Jencks and other authors. All rights reserved.