@Test public void serializeInt8S() { EzspSerializer serializer = new EzspSerializer(); serializer.serializeInt8S(5); serializer.serializeInt8S(-5); assertTrue(Arrays.equals(new int[] { 0x05, 0xFB }, serializer.getPayload())); }
public void serializeInt8S(int val) { buffer[length++] = val & 0xFF; }
EzspSerializer { public void serializeInt8S(int val) { buffer[length++] = val & 0xFF; } }
EzspSerializer { public void serializeInt8S(int val) { buffer[length++] = val & 0xFF; }  }
EzspSerializer { public void serializeInt8S(int val) { buffer[length++] = val & 0xFF; }  void serializeUInt8(int val); void serializeInt8S(int val); void serializeUInt16(int val); void serializeUInt32(int val); void serializeUInt16Array(int[] array); void serializeUInt8Array(int[] array); void serializeBool(boolean val); void serializeEmberKeyData(EmberKeyData keyData); void serializeEmberEui64(IeeeAddress address); void serializeEmberNetworkParameters(EmberNetworkParameters networkParameters); void serializeEmberApsFrame(EmberApsFrame apsFrame); void serializeEmberApsOption(Set<EmberApsOption> options); void serializeEzspNetworkScanType(EzspNetworkScanType scanType); void serializeEmberBindingTableEntry(EmberBindingTableEntry tableEntry); void serializeEmberInitialSecurityState(EmberInitialSecurityState securityState); void serializeEmberOutgoingMessageType(EmberOutgoingMessageType messageType); void serializeEmberConcentratorType(EmberConcentratorType concentratorType); void serializeEzspPolicyId(EzspPolicyId policyId); void serializeEmberNodeType(EmberNodeType nodeType); void serializeEzspConfigId(EzspConfigId configId); void serializeEmberBindingType(EmberBindingType bindingType); void serializeEmberCurrentSecurityBitmask(Set<EmberCurrentSecurityBitmask> securityBitmask); void serializeEmberInitialSecurityBitmask(Set<EmberInitialSecurityBitmask> securityBitmask); void serializeEmberJoinMethod(EmberJoinMethod joinMethod); void serializeExtendedPanId(ExtendedPanId extendedPanId); int[] getPayload(); void serializeEmberKeyType(EmberKeyType keyType); void serializeEzspValueId(EzspValueId valueId); void serializeEmberKeyStructBitmask(Set<EmberKeyStructBitmask> keyBitmask); void serializeEmberPowerMode(EmberPowerMode powerMode); void serializeEmberGpAddress(EmberGpAddress address); void serializeEmberGpProxyTableEntryStatus(EmberGpProxyTableEntryStatus status); void serializeEmberAesMmoHashContext(EmberAesMmoHashContext context); void serializeEmberCertificateData(EmberCertificateData certificate); void serializeEmberCertificate283k1Data(EmberCertificate283k1Data certificate); void serializeEmberPublicKeyData(EmberPublicKeyData publicKey); void serializeEmberPublicKey283k1Data(EmberPublicKey283k1Data publicKey); void serializeEmberPrivateKey283k1Data(EmberPrivateKey283k1Data privateKey); void serializeEmberPrivateKeyData(EmberPrivateKeyData privateKey); void serializeEmberLibraryId(EmberLibraryId libraryId); void serializeEzspMfgTokenId(EzspMfgTokenId tokenId); void serializeEmberGpSinkListEntry(EmberGpSinkListEntry[] sinkList); void serializeEmberGpSinkTableEntryStatus(EmberGpSinkTableEntryStatus status); void serializeEmberGpSinkTableEntry(EmberGpSinkTableEntry entry); void serializeEmberGpApplicationId(EmberGpApplicationId applicationId); void serializeEmberBeaconData(EmberBeaconData beacon); }
EzspSerializer { public void serializeInt8S(int val) { buffer[length++] = val & 0xFF; }  void serializeUInt8(int val); void serializeInt8S(int val); void serializeUInt16(int val); void serializeUInt32(int val); void serializeUInt16Array(int[] array); void serializeUInt8Array(int[] array); void serializeBool(boolean val); void serializeEmberKeyData(EmberKeyData keyData); void serializeEmberEui64(IeeeAddress address); void serializeEmberNetworkParameters(EmberNetworkParameters networkParameters); void serializeEmberApsFrame(EmberApsFrame apsFrame); void serializeEmberApsOption(Set<EmberApsOption> options); void serializeEzspNetworkScanType(EzspNetworkScanType scanType); void serializeEmberBindingTableEntry(EmberBindingTableEntry tableEntry); void serializeEmberInitialSecurityState(EmberInitialSecurityState securityState); void serializeEmberOutgoingMessageType(EmberOutgoingMessageType messageType); void serializeEmberConcentratorType(EmberConcentratorType concentratorType); void serializeEzspPolicyId(EzspPolicyId policyId); void serializeEmberNodeType(EmberNodeType nodeType); void serializeEzspConfigId(EzspConfigId configId); void serializeEmberBindingType(EmberBindingType bindingType); void serializeEmberCurrentSecurityBitmask(Set<EmberCurrentSecurityBitmask> securityBitmask); void serializeEmberInitialSecurityBitmask(Set<EmberInitialSecurityBitmask> securityBitmask); void serializeEmberJoinMethod(EmberJoinMethod joinMethod); void serializeExtendedPanId(ExtendedPanId extendedPanId); int[] getPayload(); void serializeEmberKeyType(EmberKeyType keyType); void serializeEzspValueId(EzspValueId valueId); void serializeEmberKeyStructBitmask(Set<EmberKeyStructBitmask> keyBitmask); void serializeEmberPowerMode(EmberPowerMode powerMode); void serializeEmberGpAddress(EmberGpAddress address); void serializeEmberGpProxyTableEntryStatus(EmberGpProxyTableEntryStatus status); void serializeEmberAesMmoHashContext(EmberAesMmoHashContext context); void serializeEmberCertificateData(EmberCertificateData certificate); void serializeEmberCertificate283k1Data(EmberCertificate283k1Data certificate); void serializeEmberPublicKeyData(EmberPublicKeyData publicKey); void serializeEmberPublicKey283k1Data(EmberPublicKey283k1Data publicKey); void serializeEmberPrivateKey283k1Data(EmberPrivateKey283k1Data privateKey); void serializeEmberPrivateKeyData(EmberPrivateKeyData privateKey); void serializeEmberLibraryId(EmberLibraryId libraryId); void serializeEzspMfgTokenId(EzspMfgTokenId tokenId); void serializeEmberGpSinkListEntry(EmberGpSinkListEntry[] sinkList); void serializeEmberGpSinkTableEntryStatus(EmberGpSinkTableEntryStatus status); void serializeEmberGpSinkTableEntry(EmberGpSinkTableEntry entry); void serializeEmberGpApplicationId(EmberGpApplicationId applicationId); void serializeEmberBeaconData(EmberBeaconData beacon);  }