Instance Propertyswift-nio 2.74.0NIOCore
requiredBytesHint
An estimate of the bytes required to write integers using this strategy
ByteBuffer-quicBinaryEncodingStrategy.swift:26var requiredBytesHint: Int
Other members in extension
Types
enum IntegerLength
All possible values for how many bytes a QUIC encoded integer can be
Type members
init(requiredBytesHint: IntegerLength
) Note: Prefer to use the APIs directly on ByteBuffer such as
writeEncodedInteger(_:strategy:)
and pass.quic
rather than directly initialising an instance of this strategystatic func bytesNeededForInteger<IntegerType>(IntegerType
) -> Int Calculates the minimum number of bytes needed to encode an integer using this strategy