Class ProxySliceDecoderExtensions
Provides extension methods for SliceDecoder to decode proxies.
public static class ProxySliceDecoderExtensions
- Inheritance
-
ProxySliceDecoderExtensions
- Inherited Members
Methods
DecodeNullableProxy<TProxy>(ref SliceDecoder)
Decodes a nullable proxy struct (Slice1 only).
public static TProxy? DecodeNullableProxy<TProxy>(this ref SliceDecoder decoder) where TProxy : struct, IProxy
Parameters
decoder
SliceDecoderThe Slice decoder.
Returns
- TProxy?
The decoded proxy, or null.
Type Parameters
TProxy
The type of the proxy struct to decode.
DecodeProxy<TProxy>(ref SliceDecoder)
Decodes a proxy struct.
public static TProxy DecodeProxy<TProxy>(this ref SliceDecoder decoder) where TProxy : struct, IProxy
Parameters
decoder
SliceDecoderThe Slice decoder.
Returns
- TProxy
The decoded proxy struct.
Type Parameters
TProxy
The type of the proxy struct to decode.