Skip to main content

check_notification_header

Function check_notification_header 

Source
pub fn check_notification_header(bytes: &[u8]) -> Result<usize>
Expand description

Consume the leading TNS_MSG_TYPE_OAC byte that precedes the OAC record stream (process() reads it once before delivering any record). Returns the number of bytes consumed (1) or an error if the byte is not OAC.