Documentation

EncodingContext
in package

Holds data associated with an encode operation

Tags
category

LibDNS

author

Chris Wright https://github.com/DaveRandom

Table of Contents

Properties

$compress  : bool
$labelRegistry  : LabelRegistry
$packet  : Packet
$truncate  : bool

Methods

__construct()  : mixed
Constructor
getLabelRegistry()  : LabelRegistry
Get the label registry
getPacket()  : Packet
Get the packet
isTruncated()  : bool
Determine or set whether the message is truncated
useCompression()  : bool
Determine whether compression is enabled

Properties

Methods

isTruncated()

Determine or set whether the message is truncated

public isTruncated([bool $truncate = null ]) : bool
Parameters
$truncate : bool = null
Return values
bool

useCompression()

Determine whether compression is enabled

public useCompression() : bool
Return values
bool

        
On this page

Search results