@Test public void testDeserialize() throws Exception { LLC llc = deserializer.deserialize(bytes, 0, bytes.length); assertEquals(dsap, llc.getDsap()); assertEquals(ssap, llc.getSsap()); assertEquals(ctrl, llc.getCtrl()); }
@Override public IPacket deserialize(final byte[] data, final int offset, final int length) { final ByteBuffer bb = ByteBuffer.wrap(data, offset, length); this.dsap = bb.get(); this.ssap = bb.get(); this.ctrl = bb.get(); return this; }
LLC extends BasePacket { @Override public IPacket deserialize(final byte[] data, final int offset, final int length) { final ByteBuffer bb = ByteBuffer.wrap(data, offset, length); this.dsap = bb.get(); this.ssap = bb.get(); this.ctrl = bb.get(); return this; } }
LLC extends BasePacket { @Override public IPacket deserialize(final byte[] data, final int offset, final int length) { final ByteBuffer bb = ByteBuffer.wrap(data, offset, length); this.dsap = bb.get(); this.ssap = bb.get(); this.ctrl = bb.get(); return this; }  }
LLC extends BasePacket { @Override public IPacket deserialize(final byte[] data, final int offset, final int length) { final ByteBuffer bb = ByteBuffer.wrap(data, offset, length); this.dsap = bb.get(); this.ssap = bb.get(); this.ctrl = bb.get(); return this; }  byte getDsap(); void setDsap(final byte dsap); byte getSsap(); void setSsap(final byte ssap); byte getCtrl(); void setCtrl(final byte ctrl); @Override byte[] serialize(); @Override IPacket deserialize(final byte[] data, final int offset,
                               final int length); static Deserializer<LLC> deserializer(); @Override String toString(); }
LLC extends BasePacket { @Override public IPacket deserialize(final byte[] data, final int offset, final int length) { final ByteBuffer bb = ByteBuffer.wrap(data, offset, length); this.dsap = bb.get(); this.ssap = bb.get(); this.ctrl = bb.get(); return this; }  byte getDsap(); void setDsap(final byte dsap); byte getSsap(); void setSsap(final byte ssap); byte getCtrl(); void setCtrl(final byte ctrl); @Override byte[] serialize(); @Override IPacket deserialize(final byte[] data, final int offset,
                               final int length); static Deserializer<LLC> deserializer(); @Override String toString(); static final byte LLC_HEADER_LENGTH; }