@Override public ByteRange get(int index, byte[] dst) { if (0 == dst.length) return this; return get(index, dst, 0, dst.length); }
@Override public PositionedByteRange get(int index, byte[] dst) { super.get(index, dst); return this; }
@Override public PositionedByteRange get(int index, byte[] dst, int offset, int length) { super.get(index, dst, offset, length); return this; }
@Override public PositionedByteRange get(byte[] dst, int offset, int length) { if (0 == length) return this; super.get(this.position, dst, offset, length); this.position += length; return this; }
@Override public long getVLong(int index) { int shift = 0; long result = 0; while (shift < 64) { final byte b = get(index++); result |= (long) (b & 0x7F) << shift; if ((b & 0x80) == 0) { break; } shift += 7; } return result; } // end of copied from protobuf
@Override public PositionedByteRange get(int index, byte[] dst) { super.get(index, dst); return this; }
@Override public PositionedByteRange get(int index, byte[] dst) { super.get(index, dst); return this; }
@Override public PositionedByteRange get(int index, byte[] dst, int offset, int length) { super.get(index, dst, offset, length); return this; }
@Override public PositionedByteRange get(byte[] dst, int offset, int length) { if (0 == length) return this; super.get(this.position, dst, offset, length); this.position += length; return this; }
@Override public ByteRange get(int index, byte[] dst) { if (0 == dst.length) return this; return get(index, dst, 0, dst.length); }
@Override public ByteRange get(int index, byte[] dst) { if (0 == dst.length) return this; return get(index, dst, 0, dst.length); }
@Override public PositionedByteRange get(byte[] dst, int offset, int length) { if (0 == length) return this; super.get(this.position, dst, offset, length); this.position += length; return this; }
@Override public PositionedByteRange get(int index, byte[] dst, int offset, int length) { super.get(index, dst, offset, length); return this; }
@Override public PositionedByteRange get(byte[] dst, int offset, int length) { if (0 == length) return this; super.get(this.position, dst, offset, length); this.position += length; return this; }
@Override public PositionedByteRange get(int index, byte[] dst) { super.get(index, dst); return this; }
@Override public ByteRange get(int index, byte[] dst) { if (0 == dst.length) return this; return get(index, dst, 0, dst.length); }
@Override public PositionedByteRange get(int index, byte[] dst, int offset, int length) { super.get(index, dst, offset, length); return this; }
@Override public long getVLong(int index) { int shift = 0; long result = 0; while (shift < 64) { final byte b = get(index++); result |= (long) (b & 0x7F) << shift; if ((b & 0x80) == 0) { break; } shift += 7; } return result; } // end of copied from protobuf
@Override public long getVLong(int index) { int shift = 0; long result = 0; while (shift < 64) { final byte b = get(index++); result |= (long) (b & 0x7F) << shift; if ((b & 0x80) == 0) { break; } shift += 7; } return result; } // end of copied from protobuf
@Override public long getVLong(int index) { int shift = 0; long result = 0; while (shift < 64) { final byte b = get(index++); result |= (long) (b & 0x7F) << shift; if ((b & 0x80) == 0) { break; } shift += 7; } return result; } // end of copied from protobuf