Class DG6File

    • Constructor Detail

      • DG6File

        public DG6File​(InputStream inputStream)
                throws IOException
        Constructs a new file from binary representation.
        Parameters:
        inputStream - an input stream
        Throws:
        IOException - on error reading input stream
    • Method Detail

      • getEncoded

        public byte[] getEncoded()
        Returns the contents of this file as byte array, includes the ICAO tag and length.
        Specified by:
        getEncoded in interface LDSElement
        Returns:
        a byte array containing the file