receive
Returns one owned frame, or null when more input is needed or the decoder is drained. Inspect isDrained to distinguish those two null cases. The frame is an O(1) owned clone and may be queued independently of later decoder calls.
Returns one owned frame, or null when more input is needed or the decoder is drained. Inspect isDrained to distinguish those two null cases. The frame is an O(1) owned clone and may be queued independently of later decoder calls.
Takes the next decoded frame.
Return
an owned frame, or null when the decoder needs more input, or when it is drained and isDrained says so. The frame is an O(1) clone, so it shares its buffers with nothing the decoder will reuse, and the caller may queue it. Close it exactly once.
Returns one owned frame, or null when more input is needed or the decoder is drained. Inspect isDrained to distinguish those two null cases. The frame is an O(1) owned clone and may be queued independently of later decoder calls.