111112113114115116117118119120121
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( paEncTimestamp.computeLength() ); try { bb = paEncTimestamp.encode( bb ); // Check the length assertEquals( 0x16, bb.limit() ); String encodedPdu = Strings.dumpBytes( bb.array() );
110111112113114115116117118119120
979899100101102103104105106107
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( paEncTimestamp.computeLength() ); try { bb = paEncTimestamp.encode( bb ); // Check the length assertEquals( 0x16, bb.limit() ); String encodedPdu = Strings.dumpBytes(bb.array());