MCPcopy Index your code
hub / github.com/endbasic/endbasic / as_bytes

Method as_bytes

std/src/console/linebuffer.rs:79–81  ·  view source on GitHub ↗

Gets a view on the underlying bytes held by this buffer. Warning: direct bytes manipulation may lead to undefined behavior.

(&self)

Source from the content-addressed store, hash-verified

77 ///
78 /// Warning: direct bytes manipulation may lead to undefined behavior.
79 pub fn as_bytes(&self) -> &[u8] {
80 self.line.as_bytes()
81 }
82
83 /// Removes a character from this buffer.
84 ///

Callers 15

printMethod · 0.80
writeMethod · 0.80
do_ok_testFunction · 0.80
do_error_testFunction · 0.80
do_error_test_no_resetFunction · 0.80
do_ok_testFunction · 0.80
newMethod · 0.80
test_multibyte_charsFunction · 0.80
test_tabsFunction · 0.80
test_next_posFunction · 0.80
compile_and_get_globalFunction · 0.80
regenerateFunction · 0.80

Calls

no outgoing calls

Tested by 14

test_multibyte_charsFunction · 0.64
test_tabsFunction · 0.64
test_next_posFunction · 0.64
regenerateFunction · 0.64
write_fileMethod · 0.64
run_nMethod · 0.64
runMethod · 0.64