Package 

Class LongStringUtils


  • 
    public class LongStringUtils
    
                        

    Utility class with common long decimal and hexadecimal parsing, and String creation methods.

    • Method Detail

      • parseUnsignedLongHex

         static long parseUnsignedLongHex(CharSequence s)

        Parse the hex representation of the unsigned 64 bit long from the {@code String}.

        Parameters:
        s - String in hexadecimal of unsigned 64-bits long.
      • parseUnsignedLongHex

         static long parseUnsignedLongHex(CharSequence s, int start, int len, boolean lowerCaseOnly)

        Parse the hex representation of the unsigned 64 bit long from the {@code String}.

        Parameters:
        s - String in hex of unsigned 64 bits
        start - the start index of the hex value
        len - the len of the hex value
        lowerCaseOnly - if the allowed hex characters are lower case only