php.java.bridge
Class HexOutputBuffer
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
php.java.bridge.HexOutputBuffer
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
- Direct Known Subclasses:
- Base64EncodingOutputBuffer
class HexOutputBuffer
- extends java.io.ByteArrayOutputStream
numbers are base 16
| Fields inherited from class java.io.ByteArrayOutputStream |
count |
|
Method Summary |
protected void |
append(byte[] s)
|
protected void |
append(double d)
append a double value, base 10 for now (not every C compiler supports the C99 "a" conversion) |
protected void |
append(long i)
append an unsigned long number |
protected void |
appendLong(long l)
append a long number |
protected void |
appendQuoted(byte[] s)
|
protected void |
appendQuoted(java.lang.String s)
|
protected void |
appendString(byte[] s)
append a string |
protected byte[] |
getFirstBytes()
|
| Methods inherited from class java.io.ByteArrayOutputStream |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
| Methods inherited from class java.io.OutputStream |
flush, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HexOutputBuffer
HexOutputBuffer(JavaBridge bridge)
getFirstBytes
protected byte[] getFirstBytes()
append
protected void append(byte[] s)
appendQuoted
protected void appendQuoted(byte[] s)
appendQuoted
protected void appendQuoted(java.lang.String s)
append
protected void append(long i)
- append an unsigned long number
append
protected void append(double d)
- append a double value, base 10 for now (not every C compiler supports the C99 "a" conversion)
appendLong
protected void appendLong(long l)
- append a long number
appendString
protected void appendString(byte[] s)
- append a string