toByteBuffer

Encode ZappObject to ByteBuffer. The sequence of bytes is MUST encoded as ZAPP Object.