Skip to content
MarcoDotIO edited this page Apr 25, 2023 · 1 revision

u8(_:)

Deserialize a UInt8 value from the Deserializer's input data buffer.

public static func u8(_ deserializer: Deserializer) throws -> UInt8 

This function reads an 8-bit unsigned integer from the input data buffer by calling Deserializer.readInt(length:).

Parameters

  • deserializer: The Deserializer instance to deserialize the UInt8 value from.

Throws

Any error that may occur during the deserialization process, such as reading the input data.

Returns

A deserialized UInt8 value from the input data buffer.

Types
Protocols
Global Variables
Global Functions
Extensions
Clone this wiki locally