GCMsgBase

constructor(clazz: Class<HdrType>)

Initializes a new instance of the GCMsgBase class.

Parameters

clazz

the type of the header


constructor(clazz: Class<HdrType>, payloadReserve: Int)

Initializes a new instance of the GCMsgBase class.

Parameters

clazz

the type of the header

payloadReserve

The number of bytes to initialize the payload capacity to.