Ets_State_Block_String_Write()

Note: Requires OPNET Development Kit

Abstract

Writes string into cross-platform block storage.

Syntax

Ets_State_Block_String_Write (block_hndl, str_ptr)
Argument Type Description
block_hndl EtsT_State_Block_Handle handle to block of cross-platform data
str_ptr char * String to be written out in cross-platform representation

Return Type

void

No return value.

ets_pstate.h

Details

Blocks provide an abstraction away from a raw file. A block can be thought as if it were a piece of a file (but there are no seek functions). Data stored via blocks will be cross-platform, so that writing a string to a block on a Windows platform will read in correctly when running on a Linux platform.

Write will not fail (unless whole system is about to fail due to low memory). The block will grow as needed as values are serialized.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com