Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib21 / BinaryData / Java BinaryData - BinaryData
In This Topic
    Java BinaryData - BinaryData
    In This Topic
    public BinaryData();
    public BinaryData(BinaryData bd);
    public BinaryData(byte[] data);
    public BinaryData(String stringData, String encoding) throws LtInvalidParamException;

    public static String HexEncoding = "Hex";
    public static String Base64Encoding = "Base64";
      Property Description  
        Property Constructor  
        Argument - bd An existing BinaryData object to copy  
        Argument - data Raw binary data  
        Argument - stringData A string containing encoded binary data  
        Argument - encoding The type of encoding used, the 2 options supported are HexEncoding & Base64Encoding, which are defined as static properties (see above)  
        Description Initilises the data held by the class  
        Remarks May throw an execption if the data encoded in stringData, is not valid for the encoding described in encoding.