Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sick-appspace-samples/StringStreaming

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 

Repository files navigation

StringStreaming

Streaming binary data using the Lua functions string.pack() / string.unpack().

Description

This sample shows the streaming of data packed with the Lua string.pack function. First the data is packed (serialized in binary form) and written to a file. Then the same file is read, unpacked and the data is stored back to variables. Their values are then printed to the console. The packing and unpacking needs a format string ("HBL" in this sample). This defines how the data is packed. More information about the format string can be found in the component description or in the Lua reference manual.

Topics

programming-pattern, sample, sick-appspace

About

Streaming binary data using the Lua functions string.pack() / string.unpack(). Topics: #programming-pattern #sample #sick-appspace

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.