|
Retrieves data, on a bit boundary, and copies it into the given buffer until the stopword is encountered. - Parameters:
-
| dest | IN: where to copy the data. |
| max | INOUT: the maximum number of bytes to copy goes into the call, the number of bytes actually copied goes out. |
| discard_head | OUT: the bits that the caller must ignore in the first byte of the copy. |
| discard_tail | OUT: the bits that the caller must ignore in the last byte of the copy. |
- Returns:
- The number of bits that must be ignored in the following call, or an error indication if negative.
|