/** Creates a new Output for writing to a byte array. * * @param bufferSize The initial size of the buffer. * @param maxBufferSize The buffer is doubled as needed until it exceeds maxBufferSize and an exception is thrown. */ public UnsafeMemoryOutput (int bufferSize, int maxBufferSize) { super(bufferSize, maxBufferSize); updateBufferAddress(); }
/** Creates a new Output for writing to an OutputStream. A buffer size of 4096 is used. */ public UnsafeMemoryOutput (OutputStream outputStream) { super(outputStream); updateBufferAddress(); }
/** Creates a new Output for writing to an OutputStream. */ public UnsafeMemoryOutput (OutputStream outputStream, int bufferSize) { super(outputStream, bufferSize); updateBufferAddress(); }
/** Creates a new Output for writing to a byte array. * * @param bufferSize The initial size of the buffer. * @param maxBufferSize The buffer is doubled as needed until it exceeds maxBufferSize and an exception is thrown. */ public UnsafeMemoryOutput (int bufferSize, int maxBufferSize) { super(bufferSize, maxBufferSize); updateBufferAddress(); }
/** Creates a new Output for writing to an OutputStream. A buffer size of 4096 is used. */ public UnsafeMemoryOutput (OutputStream outputStream) { super(outputStream); updateBufferAddress(); }
/** Creates an uninitialized Output. {@link #setBuffer(byte[], int)} must be called before the Output is used. */ public UnsafeMemoryOutput () { updateBufferAddress(); }
public UnsafeMemoryOutput (long address, int maxBufferSize) { super(address, maxBufferSize); updateBufferAddress(); }
/** Creates a new Output for writing to a byte array. * * @param bufferSize The initial size of the buffer. * @param maxBufferSize The buffer is doubled as needed until it exceeds maxBufferSize and an exception is thrown. */ public UnsafeMemoryOutput (int bufferSize, int maxBufferSize) { super(bufferSize, maxBufferSize); updateBufferAddress(); }
public UnsafeMemoryOutput (long address, int maxBufferSize) { super(address, maxBufferSize); updateBufferAddress(); }
/** Creates a new Output for writing to a byte array. * * @param bufferSize The initial size of the buffer. * @param maxBufferSize The buffer is doubled as needed until it exceeds maxBufferSize and an exception is thrown. */ public UnsafeMemoryOutput (int bufferSize, int maxBufferSize) { super(bufferSize, maxBufferSize); updateBufferAddress(); }
/** Creates a new Output for writing to an OutputStream. */ public UnsafeMemoryOutput (OutputStream outputStream, int bufferSize) { super(outputStream, bufferSize); updateBufferAddress(); }
/** Creates a new Output for writing to an OutputStream. A buffer size of 4096 is used. */ public UnsafeMemoryOutput (OutputStream outputStream) { super(outputStream); updateBufferAddress(); }
/** Creates a new Output for writing to an OutputStream. */ public UnsafeMemoryOutput (OutputStream outputStream, int bufferSize) { super(outputStream, bufferSize); updateBufferAddress(); }
public UnsafeMemoryOutput (long address, int maxBufferSize) { super(address, maxBufferSize); updateBufferAddress(); }
public UnsafeMemoryOutput (long address, int maxBufferSize) { super(address, maxBufferSize); updateBufferAddress(); }
/** Creates a new Output for writing to an OutputStream. */ public UnsafeMemoryOutput (OutputStream outputStream, int bufferSize) { super(outputStream, bufferSize); updateBufferAddress(); }
public void setBuffer (ByteBuffer buffer, int maxBufferSize) { super.setBuffer(buffer, maxBufferSize); updateBufferAddress(); }
public void setBuffer (ByteBuffer buffer, int maxBufferSize) { super.setBuffer(buffer, maxBufferSize); updateBufferAddress(); }
public void setBuffer (ByteBuffer buffer, int maxBufferSize) { super.setBuffer(buffer, maxBufferSize); updateBufferAddress(); }
public void setBuffer (ByteBuffer buffer, int maxBufferSize) { super.setBuffer(buffer, maxBufferSize); updateBufferAddress(); }