MCPcopy Create free account
hub / github.com/csskit/csskit / remaining_bytes

Method remaining_bytes

crates/css_lexer/src/private.rs:145–147  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

143 /// Return the remaining bytes slice
144 #[inline(always)]
145 fn remaining_bytes(&self) -> &'a [u8] {
146 &self.bytes[self.pos..]
147 }
148
149 fn consume_newline(&mut self) -> u32 {
150 let b = self.peek_byte(0);

Callers 8

consume_whitespaceMethod · 0.80
consume_url_sequenceMethod · 0.80
consume_numeric_tokenMethod · 0.80
consume_string_tokenMethod · 0.80
is_number_startMethod · 0.80
read_next_tokenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected