setBytesForKey( )

Sets the binary data bytes for the specified preference key.

Interface

PODSPrefs

IDL definition
nometadata void setBytesForKey(
  PODSString key,
  PODSUInt8 data,
  PODSUInt32 length
);
JavaScript synopsis

Not applicable

C synopsis
void PODSsetBytesForKey(
  PODSPrefs* preferences,
  PODSString key,
  PODSUInt8* data,
  PODSUInt32 length
);
Parameters
  • preferences   The PODSPrefs object.

  • key   [in] Preference key value. See PODSPrefs key values.

  • data   [in] The binary data to set for the key value.

  • length   [in] Length of binary data, in bytes.

Returns

None

Remarks

The data bytes associated with a preference key value may be used to store any binary data that needs to be associated with the key.

See also

getBytesForKey( )