int fiftyoneDegreesStoredBinaryValueCompareWithString(const fiftyoneDegreesStoredBinaryValue *value, fiftyoneDegreesPropertyValueType storedValueType, const char *target, fiftyoneDegreesStringBuilder *tempBuilder, fiftyoneDegreesException *exception)
Function to compare the current binary value to the target string value using the text format.
double fiftyoneDegreesStoredBinaryValueToDoubleOrDefault(const fiftyoneDegreesStoredBinaryValue *value, fiftyoneDegreesPropertyValueType storedValueType, double defaultValue)
Function to convert the binary value to double when possible.
int fiftyoneDegreesStoredBinaryValueToIntOrDefault(const fiftyoneDegreesStoredBinaryValue *value, fiftyoneDegreesPropertyValueType storedValueType, int defaultValue)
Function to convert the binary value to int when possible.
void * fiftyoneDegreesStoredBinaryValueRead(const fiftyoneDegreesCollectionFile *file, const fiftyoneDegreesCollectionKey *key, fiftyoneDegreesData *data, fiftyoneDegreesException *exception)
Reads a binary value from the source file at the offset within the string structure.
bool fiftyoneDegreesStoredBinaryValueToBoolOrDefault(const fiftyoneDegreesStoredBinaryValue *value, fiftyoneDegreesPropertyValueType storedValueType, bool defaultValue)
Function to convert the binary value to bool when possible.
const fiftyoneDegreesStoredBinaryValue * fiftyoneDegreesStoredBinaryValueGet(const fiftyoneDegreesCollection *strings, uint32_t offset, fiftyoneDegreesPropertyValueType storedValueType, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Gets the binary value at the required offset from the collection provided.
fiftyoneDegreesFloatInternal fiftyoneDegreesFloat
For some compilers such as clang and Microsoft C or computers where the IEEE single precision standar...
Definition float.h:191
Type of collection where the collection is streamed from file.
Definition collection.h:456
All the shared methods and fields required by file, memory and cached collections.
Definition collection.h:408
Used to store a handle to the underlying item that could be used to release the item when it's finish...
Definition collection.h:315
Explains to a collection (or cache) what the consumer is looking for.
Definition collectionKey.h:76
Data structure used for reusing memory which may have been allocated in a previous operation.
Definition data.h:105
Structure used to represent a 51Degrees exception and passed into methods that might generate excepti...
Definition exceptions.h:115
String buffer for building strings with memory checks.
Definition stringBuilder.h:86
Definition string.h:97
Definition storedBinaryValue.h:75
unsigned char firstByte
The first byte of the array.
Definition storedBinaryValue.h:77
uint16_t size
Size of the byte array in memory (starting from 'firstByte').
Definition storedBinaryValue.h:76
"Packed" value that can be present inside "strings" of dataset.
Definition storedBinaryValue.h:85
fiftyoneDegreesString stringValue
String value (ASCII or UTF-8).
Definition storedBinaryValue.h:86
byte byteValue
Single byte value.
Definition storedBinaryValue.h:91
int16_t shortValue
Short value.
Definition storedBinaryValue.h:90
int32_t intValue
Integer value.
Definition storedBinaryValue.h:89
fiftyoneDegreesVarLengthByteArray byteArrayValue
Byte array value (e.g.
Definition storedBinaryValue.h:87
fiftyoneDegreesFloat floatValue
single precision floating point value
Definition storedBinaryValue.h:88
