payload


Description:

[ NoWrapper ]
public virtual Buffer payload (Buffer buffer)

payload data in a format suitable to write to the sink.

If no payloading is required, returns a reffed copy of the original buffer, else returns the payloaded buffer with all other metadata copied.