public interface BSONDecoder<RetType>
RetType decode(byte type, DataInput input) throws NullPointerException, IOException, ParseException
type
- the type of data to extractinput
- the reader to get values fromNullPointerException
IOException
ParseException