DeepCover Embedded Security in IoT: Public-key Secured Data Paths

Dependencies:   MaximInterface

Embed: (wiki syntax)

« Back to documentation index

GenericPointer< ValueType, Allocator >::PercentDecodeStream Class Reference

GenericPointer< ValueType, Allocator >::PercentDecodeStream Class Reference

A helper stream for decoding a percent-encoded sequence into code unit. More...

#include <pointer.h>

Public Member Functions

 PercentDecodeStream (const Ch *source, const Ch *end)
 Constructor.

Detailed Description

template<typename ValueType, typename Allocator = CrtAllocator>
class GenericPointer< ValueType, Allocator >::PercentDecodeStream

A helper stream for decoding a percent-encoded sequence into code unit.

This stream decodes XY triplet into code unit (0-255). If it encounters invalid characters, it sets output code unit as 0 and mark invalid, and to be checked by IsValid().

Definition at line 980 of file pointer.h.


Constructor & Destructor Documentation

PercentDecodeStream ( const Ch *  source,
const Ch *  end 
)

Constructor.

Parameters:
sourceStart of the stream
endPast-the-end of the stream.

Definition at line 989 of file pointer.h.