Class Utils


  • class Utils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static byte[] EMPTY  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Utils()
      Avoid instantiation.
    • Field Detail

      • EMPTY

        public static byte[] EMPTY
    • Constructor Detail

      • Utils

        private Utils()
        Avoid instantiation.
    • Method Detail

      • writeOffsettedByteArrayFields

        static int writeOffsettedByteArrayFields​(Buffer.PlainBuffer buffer,
                                                 byte[] bytes,
                                                 int offset)
      • ensureNotNull

        static byte[] ensureNotNull​(byte[] possiblyNull)
      • ensureNotNull

        static byte[] ensureNotNull​(java.lang.String possiblyNull)