๐ฌThis is a nightly-only experimental API. (
alloc_io #154046)Macrosยง
- impl_
from_ ๐endian_ bytes Experimental
Constantsยง
- DEFAULT_
BUF_ ๐ปSIZE Experimental - Bare metal platforms usually have very small amounts of RAM (in the order of hundreds of KB)
Traitsยง
- From
Endian Bytes Experimental - Trait for types that can be converted from a fixed-size byte array with a specified endianness
- Read
Experimental - The
Readtrait allows for reading bytes from a source.
Functionsยง
- append_
to_ ๐ โstring Experimental - Several
read_to_stringandread_linemethods in the standard library will append data into aStringbuffer, but we need to be pretty careful when doing this. The implementation will just call.as_mut_vec()and then delegate to a byte-oriented reading method, but we must ensure that when returning we never leavebufin a state such that it contains invalid UTF-8 in its bounds. - default_
read_ ๐ปbuf Experimental - default_
read_ ๐buf_ exact Experimental - default_
read_ ๐exact Experimental - default_
read_ ๐ปto_ end Experimental - Here we must serve many masters with conflicting goals:
- default_
read_ ๐ปto_ string Experimental - default_
read_ ๐ปvectored Experimental - read_
to_ string Experimental - Reads all bytes from a reader into a new
String.