Class ISerializer.Content
- Namespace
- NexusRpc
- Assembly
- NexusRpc.dll
Raw byte content for use by a serializer.
public record ISerializer.Content : IEquatable<ISerializer.Content>
- Inheritance
-
ISerializer.Content
- Implements
- Inherited Members
Constructors
Content(byte[], IReadOnlyDictionary<string, string>?)
Raw byte content for use by a serializer.
public Content(byte[] Data, IReadOnlyDictionary<string, string>? Headers = null)
Parameters
Databyte[]Byte array of data.
HeadersIReadOnlyDictionary<string, string>Optional headers.
Properties
Data
Byte array of data.
public byte[] Data { get; init; }
Property Value
- byte[]
Headers
Optional headers.
public IReadOnlyDictionary<string, string>? Headers { get; init; }