Skip to main content

MAX_NIP44_BINARY_WRITER_PLAINTEXT_BYTES

Constant MAX_NIP44_BINARY_WRITER_PLAINTEXT_BYTES 

Source
pub const MAX_NIP44_BINARY_WRITER_PLAINTEXT_BYTES: usize = 65_408;
Expand description

Maximum arbitrary-byte plaintext emitted through the native Rust API.

The pinned nostr codec owns this legacy compatibility path and applies its conservative pre-extension bound. NIP-44 text writers use MAX_NIP44_WRITER_PLAINTEXT_BYTES.