public void readBytes(final HornetQBuffer dst, final int length) { if (length > dst.writableBytes()) { throw new IndexOutOfBoundsException(); } readBytes(dst, dst.writerIndex(), length); dst.writerIndex(dst.writerIndex() + length); }
public void readBytes(final HornetQBuffer dst) { readBytes(dst, dst.writableBytes()); }
public void getBytes(final int index, final HornetQBuffer dst) { getBytes(index, dst, dst.writableBytes()); }