Flush also implemented for decoding