/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// CapsuleDecoder provides methods to decode capsule data from a given buffer. // It does not own the underlying data, so the caller must ensure that the // buffer remains valid for the lifetime of the CapsuleDecoder instance. class MOZ_STACK_CLASS CapsuleDecoder final {
public: explicit CapsuleDecoder(const uint8_t* aData, size_t aLength);
~CapsuleDecoder();
// Return Nothing() when there is not enough data to decode. template <typename T>
Maybe<T> DecodeUint();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.