new TlvWireFormat()
A TlvWireFormat extends WireFormat to override its methods to
implement encoding and decoding using the preferred implementation of NDN-TLV.
- Source:
Methods
(static) get() → {TlvWireFormat}
Get a singleton instance of a TlvWireFormat. Assuming that the default
wire format was set with WireFormat.setDefaultWireFormat(TlvWireFormat.get()),
you can check if this is the default wire encoding with
if WireFormat.getDefaultWireFormat() == TlvWireFormat.get().
- Source:
Returns:
The singleton instance.
- Type
- TlvWireFormat