Class MsgBase<HdrType extends ISteamSerializable>

    • Constructor Detail

      • MsgBase

        public MsgBase​(java.lang.Class<HdrType> clazz)
        Initializes a new instance of the MsgBase class.
        Parameters:
        clazz - the type of the header
      • MsgBase

        public MsgBase​(java.lang.Class<HdrType> clazz,
                       int payloadReserve)
        Initializes a new instance of the MsgBase class.
        Parameters:
        clazz - the type of the header
        payloadReserve - The number of bytes to initialize the payload capacity to.
    • Method Detail

      • getHeader

        public HdrType getHeader()
        Returns:
        the header for this message type.