1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980module juptune.asn1.decode.bcd.encoding;
struct Asn1SetOfImpl(
ElementT,
bool IsSetOf
)
{
/++ STRUCTS ++/
///
struct FromDecoding
{
/++ VARIABLES ++/
///
const ubyte[] data;
///
size_t length;
}
///
struct InMemory
{
/++ VARIABLES ++/
///
ElementT[] elements;
}
/++ ALIASES ++/
///
alias foreachElement = ;
///
alias foreachElementAuto = ;
///
alias foreachElementAutoGC = ;
///
alias foreachElementGC = ;
/++ FUNCTIONS ++/
///
static Result checkIsSorted(const ubyte[] data);
///
size_t elementCount();
///
Result foreachElementAutoImpl(HandlerT, Asn1Ruleset ruleset)(HandlerT handler);
///
Result foreachElementImpl(HandlerT, DecoderT)(HandlerT handler, DecoderT decoder);
///
Result fromDecoding(Asn1Ruleset ruleset)(MemoryReader mem, typeof(TODO) result, Asn1Identifier ident);
///
static typeof(TODO) fromInMemory(ElementT[] elements);
///
size_t toHash();
///
void toString(SinkT)(SinkT sink, int depth = 0);
/++ ENUMS ++/
///
enum ImplType
{
///
FAILSAFE,
///
fromDecoding,
///
inMemory
}
/++ VARIABLES ++/
///
FromDecoding _fromDecoding;
///
ImplType _implType;
///
InMemory _inMemory;
}
| Name | Description |
|---|---|
| foreachElement | |
| foreachElementAuto | |
| foreachElementAutoGC | |
| foreachElementGC |
| Name | Description |
|---|---|
| ImplType |
| Name | Description |
|---|---|
| checkIsSorted | |
| elementCount | |
| foreachElementAutoImpl | |
| foreachElementImpl | |
| fromDecoding | |
| fromInMemory | |
| toHash | |
| toString |
| Name | Description |
|---|---|
| FromDecoding | |
| InMemory |
| Name | Description |
|---|---|
| _fromDecoding | |
| _implType | |
| _inMemory |