Class StringType

    • Constructor Detail

      • StringType

        protected StringType()
    • Method Detail

      • size

        public int size​(java.lang.Object instance)
        Description copied from class: PrimitiveTypeBase
        currently the only individual size primitive so, keep it simple
        Specified by:
        size in interface PrimitiveType<java.nio.Buffer>
        Overrides:
        size in class PrimitiveTypeBase<java.nio.Buffer>
        Parameters:
        instance - the object to calculate the size
        Returns:
        the size in bytes of the object instance