コード例 #1
0
 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);
 }
コード例 #2
0
 public void readBytes(final HornetQBuffer dst) {
   readBytes(dst, dst.writableBytes());
 }
コード例 #3
0
 public void getBytes(final int index, final HornetQBuffer dst) {
   getBytes(index, dst, dst.writableBytes());
 }