SHIP:Data Types:Buffer

From Serious Documentation
Revision as of 12:43, 6 October 2016 by CarltonHeyer (talk | contribs) (Created page with "== See Also == * All Data Types * SHIP Text Model Reference * SHIP Language Support * SHIP SHIP:Sail:Functi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

See Also

Buffer

Buffers in SHIP are a sequence of bytes in memory.

Data Type Description
Buffer A sequence of bytes who length is determined by the capacity property.

Buffer data is written in Sail Scripts wip.


Examples

This is an example of assigning a Buffer node data within a Sail script:

 wip";


You can define strings with alternate language translations using string and text nodes. These translated string resources can be combined at runtime in Sail scripts to form larger strings, for example if you have a string resource:

tWelcome
  enUS: Welcome
  frFR: Bienvenue

a Sail script can SHIP:Sail:Buffer Functions to manipulate buffer data.

wip;