Skip to content

u16(__)

MarcoDotIO edited this page Apr 25, 2023 · 1 revision

u16(_:)

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

public static func u16(_ deserializer: Deserializer) throws -> UInt16 

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

Parameters

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

Throws

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

Returns

A deserialized UInt16 value from the input data buffer.

Types
Protocols
Global Variables
Global Functions
Extensions
Clone this wiki locally