Interface BinaryReader

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void readBinary​(net.morimekta.util.io.BigEndianBinaryReader reader, boolean strict)
      Read the binary content into the current builder.
    • Method Detail

      • readBinary

        void readBinary​(net.morimekta.util.io.BigEndianBinaryReader reader,
                        boolean strict)
                 throws java.io.IOException
        Read the binary content into the current builder. NOTE: This method is not intended to be used directly. Instead use the BinarySerializer.deserialize(InputStream, PMessageDescriptor) call.
        Parameters:
        reader - The reader to read from.
        strict - If content should be handled strictly. True means to fail on everything that Apache thrift failed read() on.
        Throws:
        java.io.IOException - When unable to read message for any reason.