Results for “Std.Bytes.BytesError”
14 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Bytes.BytesError
What went wrong while reading a byte sequence.
- Std.Bytes.decodeBase64
Str -> Result[Bytes, Std.Bytes.BytesError]The bytes base64 text spells, or why it spells none.
- Std.Bytes.decodeBase64Url
Str -> Result[Bytes, Std.Bytes.BytesError]The bytes URL-alphabet base64 spells, padded or not.
- Std.Bytes.decodeHex
Str -> Result[Bytes, Std.Bytes.BytesError]The bytes hexadecimal text spells, or why it spells none.
- Std.Bytes.getBytes
&Bytes -> Int -> Result[(Bytes, Bytes), Std.Bytes.BytesError]The next bytes as their own sequence, and the rest of the input.
- Std.Bytes.getText
&Bytes -> Int -> Result[(Str, Bytes), Std.Bytes.BytesError]The next bytes decoded as text, and the rest of the input.
- Std.Bytes.getU16Be
&Bytes -> Result[(UInt16, Bytes), Std.Bytes.BytesError]Two bytes as a number, most significant first, and the rest of the input.
- Std.Bytes.getU16Le
&Bytes -> Result[(UInt16, Bytes), Std.Bytes.BytesError]Two bytes as a number, least significant first, and the rest of the input.
- Std.Bytes.getU32Be
&Bytes -> Result[(UInt32, Bytes), Std.Bytes.BytesError]Four bytes as a number, most significant first, and the rest of the input.
- Std.Bytes.getU32Le
&Bytes -> Result[(UInt32, Bytes), Std.Bytes.BytesError]Four bytes as a number, least significant first, and the rest of the input.
- Std.Bytes.getU64Be
&Bytes -> Result[(UInt64, Bytes), Std.Bytes.BytesError]Eight bytes as a number, most significant first, and the rest of the input.
- Std.Bytes.getU64Le
&Bytes -> Result[(UInt64, Bytes), Std.Bytes.BytesError]Eight bytes as a number, least significant first, and the rest of the input.
- Std.Bytes.getU8
&Bytes -> Result[(UInt8, Bytes), Std.Bytes.BytesError]One byte, and the rest of the input.
- Std.Bytes.toText
&Bytes -> Result[Str, Std.Bytes.BytesError]The text a sequence encodes, or the reason it is not text.
