Exemplo n.º 1
0
  @Override
  public final void decode(byte[] bytes) throws DecoderException {
    if (bytes.length < 2)
      throw new DecoderException("Insufficient space remaining in buffer to decode this value");

    this.value = BitHelpers.readShortLE(bytes, 0);
  }