public ByteArray(byte[] bytes) { this(bytes, 0, bytes.length); }
public ByteArray(byte[] bytes, int off, int len) { this.bytes = bytes; this.off=off; this.len=len; }
public Stream getStream() { return new Stream(bytes, off, len); }
public ByteArray(byte[] bytes) { this(bytes, 0, bytes.length); }
public ByteArray(byte[] bytes, int off, int len) { this.bytes = bytes; this.off=off; this.len=len; }
public Stream getStream() { return new Stream(bytes, off, len); }