@Override public int encodeByte(byte v, byte[] b, int o) { return encodeShort(v,b,o); }
@Override public int encodeInt(int v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeLong(long v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeFloat(float v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeFloat(float v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeDouble(double v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeLong(long v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeDouble(double v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeByte(byte v, byte[] b, int o) { return encodeShort(v,b,o); }
@Override public int encodeInt(int v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeByte(byte v, byte[] b, int o) { return encodeShort(v,b,o); }
@Override public int encodeInt(int v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeLong(long v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeDouble(double v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }
@Override public int encodeFloat(float v, byte[] b, int o) { if (v < Short.MIN_VALUE || v > Short.MAX_VALUE) { throw newIllegalDataException("Value " + v + " cannot be encoded as an Short without changing its value"); } return encodeShort((short)v,b,o); }