Show / Hide Table of Contents

Class Message

This class encapsulates the concept of a message, which is an object that can be represented as a series of bytes for abstract transport

Inheritance
object
Message
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Couchbase.Lite.P2P
Assembly: Couchbase.Lite.dll
Syntax
public abstract class Message
Remarks

NOTE: This is an enterprise edition feature

Methods

| Improve this Doc View Source

FromBytes(byte[])

Creates a message based on the given byte array

Declaration
public static Message FromBytes(byte[] data)
Parameters
Type Name Description
byte[] data

The data to include in the message

Returns
Type Description
Message

The instantiated Message object

Remarks

NOTE: This is an enterprise edition feature

| Improve this Doc View Source

ToByteArray()

Creates a byte array from the message

Declaration
public abstract byte[] ToByteArray()
Returns
Type Description
byte[]

The byte data of the message

Remarks

NOTE: This is an enterprise edition feature

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX