Method Summary |
|
public int | current() Returns the current position. |
public void | jump(int index) Resets the current position of the output stream to the specified index. |
public void | restore() Restores the input stream to its state before the call to
DNSOutput.save . |
public void | save() Saves the current state of the output stream. |
public byte[] | toByteArray() Returns a byte array containing the current contents of the stream. |
public void | writeByteArray(byte[] b, int off, int len) Writes a byte array to the stream. |
public void | writeByteArray(byte[] b) Writes a byte array to the stream. |
public void | writeCountedString(byte[] s) Writes a counted string from the stream. |
public void | writeU16(int val) Writes an unsigned 16 bit value to the stream. |
public void | writeU32(long val) Writes an unsigned 32 bit value to the stream. |
public void | writeU8(int val) Writes an unsigned 8 bit value to the stream. |