retainOriginalBytes property

bool retainOriginalBytes
getter/setter pair

Whether or not bytes are available as a list after decoding has occurred.

By default, invoking decode will discard the initial bytes and only keep the decoded value. Setting this flag to true will keep a copy of the original bytes in originalBytes.

Implementation

bool retainOriginalBytes = false;