Interface BinaryReader
-
- All Known Implementing Classes:
PApplicationException._Builder
public interface BinaryReader
Interface for message builders that can read binary directly from an big endian binary reader.
-
-
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 theBinarySerializer.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.
-
-