Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.

nl:: Menenun:: Profil:: Deskripsi perangkat:: TeksDescriptorWriter

Ringkasan

Konstruktor dan Destruktor

TextDescriptorWriter (char *buf, uint32_t bufSize)

Fungsi publik

Finalize ()
GetLengthWritten ()
uint32_t
WriteDate (char fieldId, uint16_t year, uint8_t month, uint8_t day)
WriteHex (char fieldId, uint16_t val)
WriteHex (char fieldId, const uint8_t *val, uint32_t valLen)
WriteString (char fieldId, const char *val)
WriteVersion ()

Fungsi publik

Menyelesaikan

WEAVE_ERROR Finalize()

DapatkanPanjangDitulis

uint32_t GetLengthWritten()

TeksDescriptorWriter

 TextDescriptorWriter(
  char *buf,
  uint32_t bufSize
)

TulisTanggal

WEAVE_ERROR WriteDate(
  char fieldId,
  uint16_t year,
  uint8_t month,
  uint8_t day
)

TulisHex

WEAVE_ERROR WriteHex(
  char fieldId,
  uint16_t val
)

TulisHex

WEAVE_ERROR WriteHex(
  char fieldId,
  const uint8_t *val,
  uint32_t valLen
)

TulisString

WEAVE_ERROR WriteString(
  char fieldId,
  const char *val
)

TulisVersi

WEAVE_ERROR WriteVersion()