Class TransportUtils


  • public class TransportUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String hexChars  
    • Constructor Summary

      Constructors 
      Constructor Description
      TransportUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static int unmarshalInt​(byte[] data, int offset)  
      protected static long unmarshalLong​(byte[] data, int offset)  
      protected static short unmarshalShort​(byte[] data, int offset)  
      protected static java.lang.String unmarshalString16​(byte[] data, int offset, int byteLength)  
      protected static java.lang.String unmarshalString16FromA​(byte[] data, int offset, int byteLength)  
      protected static java.lang.String unmarshalString8​(byte[] data, int offset, int byteLength)  
      protected static double unpackDouble​(byte[] data, int offset)  
      protected static float unpackFloat​(byte[] data, int offset)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransportUtils

        public TransportUtils()
    • Method Detail

      • unmarshalShort

        protected static short unmarshalShort​(byte[] data,
                                              int offset)
      • unmarshalInt

        protected static int unmarshalInt​(byte[] data,
                                          int offset)
      • unmarshalLong

        protected static long unmarshalLong​(byte[] data,
                                            int offset)
      • unpackFloat

        protected static float unpackFloat​(byte[] data,
                                           int offset)
      • unpackDouble

        protected static double unpackDouble​(byte[] data,
                                             int offset)
      • unmarshalString16

        protected static java.lang.String unmarshalString16​(byte[] data,
                                                            int offset,
                                                            int byteLength)
      • unmarshalString16FromA

        protected static java.lang.String unmarshalString16FromA​(byte[] data,
                                                                 int offset,
                                                                 int byteLength)
      • unmarshalString8

        protected static java.lang.String unmarshalString8​(byte[] data,
                                                           int offset,
                                                           int byteLength)