ibuf serialization.