@Test public void testToBytes() { assertArrayEquals(new byte[]{127, -2}, ShortConverter.INSTANCE.toBytes((short) (Short.MAX_VALUE - 1))); assertArrayEquals(new byte[]{-7}, ShortConverter.INSTANCE.toBytes((short) -7)); }
@Override public byte[] toBytes(Short value) { return getBytes(value); }
ShortConverter implements BytesConverter<Short> { @Override public byte[] toBytes(Short value) { return getBytes(value); } }
ShortConverter implements BytesConverter<Short> { @Override public byte[] toBytes(Short value) { return getBytes(value); }  }
ShortConverter implements BytesConverter<Short> { @Override public byte[] toBytes(Short value) { return getBytes(value); }  @Override Short fromBytes(byte[] bytes); @Override byte[] toBytes(Short value); }
ShortConverter implements BytesConverter<Short> { @Override public byte[] toBytes(Short value) { return getBytes(value); }  @Override Short fromBytes(byte[] bytes); @Override byte[] toBytes(Short value); static final BytesConverter<Short> INSTANCE; }