push overloads
Synopses
Declared in <folly/io/Cursor.h>
Write a range of bytes to the cursor.
Copy len bytes from a cursor and write them to this cursor.
Write bytes to the cursor.
void
push(
uint8_t const* buf,
size_t len);
Exceptions
Name |
Thrown on |
|
if there isn't enough space in the cursor. |
Parameters
Name |
Description |
buf |
The bytes to write. |
cursor |
The source cursor to read from. |
len |
The number of bytes to copy. |
Created with MrDocs