Table of Contents

Class DataStream.Types.ByteHeader

Namespace
LiveKit.Proto

header properties specific to byte or file streams

public sealed class DataStream.Types.ByteHeader : Google.Protobuf.IMessage<DataStream.Types.ByteHeader>, Google.Protobuf.IBufferMessage
Inheritance
DataStream.Types.ByteHeader
Implements
IBufferMessage
Extension Methods

Constructors

ByteHeader()

public ByteHeader()

ByteHeader(ByteHeader)

public ByteHeader(DataStream.Types.ByteHeader other)

Parameters

other DataStream.Types.ByteHeader

Fields

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

Properties

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasName

Gets whether the "name" field is set

public bool HasName { get; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Parser

public static Google.Protobuf.MessageParser<DataStream.Types.ByteHeader> Parser { get; }

Property Value

MessageParser<ByteHeader>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearName()

Clears the value of the "name" field

public void ClearName()

Clone()

public DataStream.Types.ByteHeader Clone()

Returns

DataStream.Types.ByteHeader

Equals(ByteHeader)

public bool Equals(DataStream.Types.ByteHeader other)

Parameters

other DataStream.Types.ByteHeader

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(ByteHeader)

public void MergeFrom(DataStream.Types.ByteHeader other)

Parameters

other DataStream.Types.ByteHeader

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream