Class BinaryType


  • public class BinaryType
    extends java.lang.Object
    Helper class for having binary type ID constants and getting the right binary type ID for a value type.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static byte BOOL  
      static byte BYTE  
      static byte DOUBLE  
      static byte I16  
      static byte I32  
      static byte I64  
      static byte LIST  
      static byte MAP  
      static byte SET  
      static byte STOP  
      static byte STRING  
      static byte STRUCT  
      static byte VOID  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String asString​(byte id)
      Readable string value for a type ID.
      static byte forType​(PType type)
      Get the binary type for the given value type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait