Table of Contents

Class TileCodecRegistry

public sealed class TileCodecRegistry
Inheritance
object
TileCodecRegistry

Constructors

TileCodecRegistry(IReadOnlyList<ITileBlockCodec>)

public TileCodecRegistry(IReadOnlyList<ITileBlockCodec> extraCodecs)

Parameters

extraCodecs IReadOnlyList<ITileBlockCodec>

Fields

BuiltInsOnly

public static readonly TileCodecRegistry BuiltInsOnly

Field Value

TileCodecRegistry

Methods

TryGet(Format, out ITileCodec)

public bool TryGet(TileCacheBlob.Format format, out ITileCodec codec)

Parameters

format TileCacheBlob.Format
codec ITileCodec

Returns

bool

TryUnwrap(byte[], int, out Format, out int, out int)

public bool TryUnwrap(byte[] cached, int len, out TileCacheBlob.Format format, out int payloadOffset, out int payloadLength)

Parameters

cached byte[]
len int
format TileCacheBlob.Format
payloadOffset int
payloadLength int

Returns

bool