Skip to content

SharedV4FileDataData

Namespace: E2E.Decision.Sdk

public sealed record SharedV4FileDataData : SharedV4FileData, IEquatable<SharedV4FileData>, IEquatable<SharedV4FileDataData>

File data holding raw bytes (upstream’s Uint8Array) or a base64-encoded string.

Inheritance: object → SharedV4FileData

Implements: IEquatable<SharedV4FileData>, IEquatable<SharedV4FileDataData>

View source

public SharedV4FileDataData(byte[] data)

Raw bytes.

Parameters

Name Type Description
data byte[]

public SharedV4FileDataData(string base64)

A base64-encoded string.

Parameters

Name Type Description
base64 string

public string? Base64 { get; }

The base64 string, when the data is a string.

Value: string

public byte[]? Bytes { get; }

The raw bytes, when the data is bytes.

Value: byte[]