RemarksFallbackResult

data class RemarksFallbackResult(val wirePayload: ByteArray?, val remarksStripped: Boolean)(source)

Result of compressWithRemarksFallbackDetailed.

Parameters

wirePayload

The compressed wire bytes if the packet fit under the limit, or null if the caller should drop the packet.

remarksStripped

true if this call stripped the remarks field before compressing — either successfully (wirePayload is non-null) or unsuccessfully (wirePayload is null).

Constructors

Link copied to clipboard
constructor(wirePayload: ByteArray?, remarksStripped: Boolean)

Properties

Link copied to clipboard

Convenience: did this call produce a sendable wire payload?

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int