Zapp Header
class ZappHeader(val resource: ZapResource, val timestamp: ULong = System.currentTimeMillis().toULong())
A header part of ZappObject.
Properties
Link copied to clipboard
A resource type of the payload. It indicates a format of payload.
Link copied to clipboard
An epoch time in milliseconds for creation time of ZappObject. (default: Current epoch)
Functions
Link copied to clipboard
Write ZappHeader to given ByteBuffer and return it. The given ByteBuffer MUST be encoded as ZAPP Header.