SHIP:Data Types:Buffer

From Serious Documentation
Jump to: navigation, search

See Also


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.


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


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:

  enUS: Welcome
  frFR: Bienvenue

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