Skip to content

remaining()

MarcoDotIO edited this page Apr 25, 2023 · 1 revision

remaining()

Calculate the remaining number of bytes in the input data buffer.

public func remaining() -> Int 

This function returns the number of bytes remaining in the Serializer's input data buffer by subtracting the current position from the total count of bytes.

Returns

An Int representing the number of bytes remaining in the input data buffer.

Types
Protocols
Global Variables
Global Functions
Extensions
Clone this wiki locally