提供意見
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
nl:: Weave:: ASN1:: ASN1Writer
摘要
公開函式
EndConstructedType (void)
EndEncapsulatedType (void)
Finalize (void)
GetLengthWritten (void) const
uint16_t
Init (uint8_t *buf, uint32_t maxLen)
void
InitNullWriter (void)
void
PutBitString (uint32_t val)
PutBitString (uint8_t unusedBits, const uint8_t *val, uint16_t valLen)
PutBitString (uint8_t unusedBits, nl::Weave::TLV::TLVReader & val)
PutBoolean (bool val)
PutInteger (int64_t val)
PutNull (void)
PutObjectId (const uint8_t *val, uint16_t valLen)
PutObjectId (OID oid)
PutOctetString (const uint8_t *val, uint16_t valLen)
PutOctetString (uint8_t cls, uint32_t tag, const uint8_t *val, uint16_t valLen)
PutOctetString (uint8_t cls, uint32_t tag, nl::Weave::TLV::TLVReader & val)
PutString (uint32_t tag, const char *val, uint16_t valLen)
PutTime (const ASN1UniversalTime & val)
PutValue (uint8_t cls, uint32_t tag, bool isConstructed, const uint8_t *val, uint16_t valLen)
PutValue (uint8_t cls, uint32_t tag, bool isConstructed, nl::Weave::TLV::TLVReader & val)
StartConstructedType (uint8_t cls, uint32_t tag)
StartEncapsulatedType (uint8_t cls, uint32_t tag, bool bitStringEncoding)
公開函式
EndConstructedType
ASN1_ERROR EndConstructedType(
void
)
EndEncapsulatedType
ASN1_ERROR EndEncapsulatedType(
void
)
完成
ASN1_ERROR Finalize(
void
)
GetLengthWritten
uint16_t GetLengthWritten (
void
) const
Init
void Init(
uint8_t *buf,
uint32_t maxLen
)
InitNullWriter
void InitNullWriter(
void
)
PutBitString
ASN1_ERROR PutBitString(
uint32_t val
)
PutBitString
ASN1_ERROR PutBitString (
uint8_t unusedBits ,
const uint8_t * val ,
uint16_t valLen
)
PutBitString
ASN1_ERROR PutBitString(
uint8_t unusedBits,
nl::Weave::TLV::TLVReader & val
)
PutBoolean
ASN1_ERROR PutBoolean(
bool val
)
PutInteger
ASN1_ERROR PutInteger(
int64_t val
)
PutNull
ASN1_ERROR PutNull(
void
)
PutObjectId
ASN1_ERROR PutObjectId (
const uint8_t * val ,
uint16_t valLen
)
PutObjectId
ASN1_ERROR PutObjectId(
OID oid
)
PutOctetString
ASN1_ERROR PutOctetString (
const uint8_t * val ,
uint16_t valLen
)
PutOctetString
ASN1_ERROR PutOctetString (
uint8_t cls ,
uint32_t tag ,
const uint8_t * val ,
uint16_t valLen
)
PutOctetString
ASN1_ERROR PutOctetString(
uint8_t cls,
uint32_t tag,
nl::Weave::TLV::TLVReader & val
)
PutString
ASN1_ERROR PutString (
uint32_t tag ,
const char * val ,
uint16_t valLen
)
PutTime
ASN1_ERROR PutTime (
const ASN1UniversalTime & val
)
PutValue
ASN1_ERROR PutValue (
uint8_t cls ,
uint32_t tag ,
bool isConstructed ,
const uint8_t * val ,
uint16_t valLen
)
PutValue
ASN1_ERROR PutValue(
uint8_t cls,
uint32_t tag,
bool isConstructed,
nl::Weave::TLV::TLVReader & val
)
StartConstructedType
ASN1_ERROR StartConstructedType(
uint8_t cls,
uint32_t tag
)
StartEncapsulatedType
ASN1_ERROR StartEncapsulatedType(
uint8_t cls,
uint32_t tag,
bool bitStringEncoding
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
上次更新時間:2024-08-22 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-22 (世界標準時間)。"],[],[]]