Blockchain, P2P and zero-conf
Variable Length String
On this page
A variable-width data format for ASCII character strings.
| Field |
Length |
Format |
Description |
| character count |
variable |
variable length integer |
The number of ASCII characters (bytes) to follow. |
| character string |
character_count bytes |
ASCII Characters |
The string of characters. |
Source and attribution
Documentation.cash (source repository) · Reference.cash (source repository)
Software Verde, Bitcoin Unlimited and the project contributors. Collection license CC BY 3.0 US. Individual notices are retained.
Source snapshot from November 29, 2026. BCH Ninja combined the community editions and updated navigation.