public T writeBytes(byte[] b) { try { write(b); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteBytes, e); } }
public T writeByte(int value) { try { write(value); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteByte, e); } }
public void writeByte(byte value) { try { write(value); } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteByte, e); } }
public T writeBytes(byte[] b) { try { write(b); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteBytes, e); } }
public T writeBytes(byte[] b, int off, int len) { try { write(b, off, len); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteBytes, e); } }
public T writeByte(int value) { try { write(value); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteByte, e); } }
public T writeBytes(byte[] b, int off, int len) { try { write(b, off, len); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteBytes, e); } }
public void writeByte(byte value) { try { write(value); } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteByte, e); } }
public T writeInteger(int value) { try { ByteUtils.getIsoBytes(value, numBuffer.reset()); write(numBuffer.getInternalBuffer(), numBuffer.capacity() - numBuffer.size(), numBuffer.size()); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteIntNumber, e); } }
public T writeLong(long value) { try { ByteUtils.getIsoBytes(value, numBuffer.reset()); write(numBuffer.getInternalBuffer(), numBuffer.capacity() - numBuffer.size(), numBuffer.size()); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteIntNumber, e); } }
public T writeDouble(double value, boolean highPrecision) { try { ByteUtils.getIsoBytes(value, numBuffer.reset(), highPrecision); write(numBuffer.getInternalBuffer(), numBuffer.capacity() - numBuffer.size(), numBuffer.size()); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteFloatNumber, e); } }
public T writeLong(long value) { try { ByteUtils.getIsoBytes(value, numBuffer.reset()); write(numBuffer.getInternalBuffer(), numBuffer.capacity() - numBuffer.size(), numBuffer.size()); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteIntNumber, e); } }
public T writeDouble(double value, boolean highPrecision) { try { ByteUtils.getIsoBytes(value, numBuffer.reset(), highPrecision); write(numBuffer.getInternalBuffer(), numBuffer.capacity() - numBuffer.size(), numBuffer.size()); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteFloatNumber, e); } }
public T writeInteger(int value) { try { ByteUtils.getIsoBytes(value, numBuffer.reset()); write(numBuffer.getInternalBuffer(), numBuffer.capacity() - numBuffer.size(), numBuffer.size()); return (T) this; } catch (java.io.IOException e) { throw new IOException(IOException.CannotWriteIntNumber, e); } }