public byte [ ] getContent ( ) throws TLVParserException { byte [ ] content = this . content ; if ( ! children . isEmpty ( ) ) { for ( TLVElement child : children ) { content = Util . join ( content , child . encodeHeader ( ) ) ; content = Util . join ( content , child . getContent ( ) ) ; } } return content ; }
Returns the TLV content . If TLV does not include content then empty array is returned .