@Test public void testByteVector() { ByteVector vector = new ByteVector(1); vector.putShort((short) -15); for (byte b : vector.getBytes()) { System.out.println(b); } System.out.println("---------------------"); }
public ByteVector() { this(DEFAULT_SIZE); }
ByteVector { public ByteVector() { this(DEFAULT_SIZE); } }
ByteVector { public ByteVector() { this(DEFAULT_SIZE); } ByteVector();  ByteVector(final int length); }
ByteVector { public ByteVector() { this(DEFAULT_SIZE); } ByteVector();  ByteVector(final int length); byte[] getBytes(); int getLength(); ByteVector putByte(final int b); ByteVector put11(final int b1, final int b2); ByteVector putShort(final short s); ByteVector put12(final int b, final short s); ByteVector putInt(final int i); ByteVector putFloat(final float f); ByteVector putDouble(final double d); ByteVector putLong(final long l); ByteVector putByteArray(final byte[] bytes, final int offset, final int length); ByteVector putString(final String s); }
ByteVector { public ByteVector() { this(DEFAULT_SIZE); } ByteVector();  ByteVector(final int length); byte[] getBytes(); int getLength(); ByteVector putByte(final int b); ByteVector put11(final int b1, final int b2); ByteVector putShort(final short s); ByteVector put12(final int b, final short s); ByteVector putInt(final int i); ByteVector putFloat(final float f); ByteVector putDouble(final double d); ByteVector putLong(final long l); ByteVector putByteArray(final byte[] bytes, final int offset, final int length); ByteVector putString(final String s); static final int DEFAULT_SIZE; }