Class Encoding

  • All Implemented Interfaces:

    public final class Encoding
    
                        

    Default encoding values used by Zenoh.

    An encoding has a similar role to Content-type in HTTP: it indicates, when present, how data should be interpreted by the application.

    Please note the Zenoh protocol does not impose any encoding value, nor it operates on it. It can be seen as some optional metadata that is carried over by Zenoh in such a way the application may perform different operations depending on the encoding value.

    A set of associated constants are provided to cover the most common encodings for user convenience. This is particularly useful in helping Zenoh to perform additional network optimizations.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Encoding.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description