Option optionName.
Static
create
Static
decode
Decodes an Option message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
Option
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeStatic
encode
Static
encodeStatic
fromStatic
toCreates a plain object from an Option message. Also converts values to other types if specified.
Option
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents an Option.