@Test public void testGetLinkSubTypeTlvBodyAsByteArray() throws Exception { result = linkType.getLinkSubTypeTlvBodyAsByteArray(); assertThat(result, is(notNullValue())); }
public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody = new byte[4]; linkSubTypeBody[0] = (byte) this.linkType; linkSubTypeBody[1] = 0; linkSubTypeBody[2] = 0; linkSubTypeBody[3] = 0; return linkSubTypeBody; }
LinkType extends TlvHeader implements LinkSubType { public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody = new byte[4]; linkSubTypeBody[0] = (byte) this.linkType; linkSubTypeBody[1] = 0; linkSubTypeBody[2] = 0; linkSubTypeBody[3] = 0; return linkSubTypeBody; } }
LinkType extends TlvHeader implements LinkSubType { public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody = new byte[4]; linkSubTypeBody[0] = (byte) this.linkType; linkSubTypeBody[1] = 0; linkSubTypeBody[2] = 0; linkSubTypeBody[3] = 0; return linkSubTypeBody; } LinkType();  LinkType(TlvHeader header); }
LinkType extends TlvHeader implements LinkSubType { public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody = new byte[4]; linkSubTypeBody[0] = (byte) this.linkType; linkSubTypeBody[1] = 0; linkSubTypeBody[2] = 0; linkSubTypeBody[3] = 0; return linkSubTypeBody; } LinkType();  LinkType(TlvHeader header); void setLinkType(int linkType); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLinkSubTypeTlvBodyAsByteArray(); @Override String toString(); }
LinkType extends TlvHeader implements LinkSubType { public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody = new byte[4]; linkSubTypeBody[0] = (byte) this.linkType; linkSubTypeBody[1] = 0; linkSubTypeBody[2] = 0; linkSubTypeBody[3] = 0; return linkSubTypeBody; } LinkType();  LinkType(TlvHeader header); void setLinkType(int linkType); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLinkSubTypeTlvBodyAsByteArray(); @Override String toString();  }