Block2

data class Block2(val number: Int, val more: Boolean, val size: Message.Option.Block.Size) : Message.Option, Message.Option.Block

RFC 7959 2.1. The Block2 and Block1 Options

Constructors

Link copied to clipboard
constructor(number: Int, more: Boolean, size: Message.Option.Block.Size)

Properties

Link copied to clipboard
open override val more: Boolean

Whether more blocks are following (M).

Link copied to clipboard
open override val number: Int

The relative number of the block (NUM) within a sequence of blocks with the given size.

Link copied to clipboard
open override val size: Message.Option.Block.Size

The size of the block (SZX).