How to use the client function as_record_set_bytes?

Hi, I saw the client provide API as_record_set_bytes,but I didnot find any example on it.Could you guys give an example or make explantion.