Currently there's no way for a client of a decoder that's working against a recordio stream to distinguish between the (frame,EOF) case and (no-frame,EOF) case. As a result, an Unmarshaler may be invoked with a zero-length frame, which doesn't play well (at least, for the built-in JSON unmarshaler).
Currently there's no way for a client of a decoder that's working against a recordio stream to distinguish between the (frame,EOF) case and (no-frame,EOF) case. As a result, an Unmarshaler may be invoked with a zero-length frame, which doesn't play well (at least, for the built-in JSON unmarshaler).