public ByteArrayBuffer(int size) { this(new byte[size], 0, 0, READWRITE); setPutIndex(0); }
public ByteArrayBuffer(int size) { this(new byte[size], 0, 0, READWRITE); setPutIndex(0); }
public ByteArrayBuffer(String value,String encoding) throws UnsupportedEncodingException { super(READWRITE,NON_VOLATILE); _bytes = value.getBytes(encoding); setGetIndex(0); setPutIndex(_bytes.length); _access=IMMUTABLE; _string = value; }
public ByteArrayBuffer(String value,String encoding) throws UnsupportedEncodingException { super(READWRITE,NON_VOLATILE); _bytes = value.getBytes(encoding); setGetIndex(0); setPutIndex(_bytes.length); _access=IMMUTABLE; _string = value; }
public ByteArrayBuffer(String value,String encoding) throws UnsupportedEncodingException { super(READWRITE,NON_VOLATILE); _bytes = value.getBytes(encoding); setGetIndex(0); setPutIndex(_bytes.length); _access=IMMUTABLE; _string = value; }
public ByteArrayBuffer(byte[] bytes, int index, int length, int access) { super(READWRITE, NON_VOLATILE); _bytes = bytes; setPutIndex(index + length); setGetIndex(index); _access = access; }
public ByteArrayBuffer(byte[] bytes, int index, int length, int access, boolean isVolatile) { super(READWRITE, isVolatile); _bytes = bytes; setPutIndex(index + length); setGetIndex(index); _access = access; }
public ByteArrayBuffer(byte[] bytes, int index, int length, int access, boolean isVolatile) { super(READWRITE, isVolatile); _bytes = bytes; setPutIndex(index + length); setGetIndex(index); _access = access; }
public ByteArrayBuffer(byte[] bytes, int index, int length, int access) { super(READWRITE, NON_VOLATILE); _bytes = bytes; setPutIndex(index + length); setGetIndex(index); _access = access; }
public ByteArrayBuffer(String value,String encoding) throws UnsupportedEncodingException { super(READWRITE,NON_VOLATILE); _bytes = value.getBytes(encoding); setGetIndex(0); setPutIndex(_bytes.length); _access=IMMUTABLE; _string = value; }
/** * */ public void reset() { _closed=false; _in.clear(); _out.clear(); if (_inBytes!=null) _in.setPutIndex(_inBytes.length); }
public ByteArrayBuffer(String value,boolean immutable) { super(READWRITE,NON_VOLATILE); _bytes = StringUtil.getBytes(value); setGetIndex(0); setPutIndex(_bytes.length); if (immutable) { _access=IMMUTABLE; _string = value; } }
public ByteArrayBuffer(String value) { super(READWRITE,NON_VOLATILE); _bytes = StringUtil.getBytes(value); setGetIndex(0); setPutIndex(_bytes.length); _access=IMMUTABLE; _string = value; }
public ByteArrayBuffer(String value,boolean immutable) { super(READWRITE,NON_VOLATILE); _bytes = StringUtil.getBytes(value); setGetIndex(0); setPutIndex(_bytes.length); if (immutable) { _access=IMMUTABLE; _string = value; } }
/** * */ public void reset() { _closed=false; _in.clear(); _out.clear(); if (_inBytes!=null) _in.setPutIndex(_inBytes.length); }
/** * */ public void reset() { _closed=false; _in.clear(); _out.clear(); if (_inBytes!=null) _in.setPutIndex(_inBytes.length); }
/** * */ public void reset() { _closed=false; _in.clear(); _out.clear(); if (_inBytes!=null) _in.setPutIndex(_inBytes.length); }
public ByteArrayBuffer(String value) { super(READWRITE,NON_VOLATILE); _bytes = StringUtil.getBytes(value); setGetIndex(0); setPutIndex(_bytes.length); _access=IMMUTABLE; _string = value; }
public ByteArrayBuffer(String value,boolean immutable) { super(READWRITE,NON_VOLATILE); _bytes = StringUtil.getBytes(value); setGetIndex(0); setPutIndex(_bytes.length); if (immutable) { _access=IMMUTABLE; _string = value; } }
public ByteArrayBuffer(String value,boolean immutable) { super(READWRITE,NON_VOLATILE); _bytes = StringUtil.getBytes(value); setGetIndex(0); setPutIndex(_bytes.length); if (immutable) { _access=IMMUTABLE; _string = value; } }