nupp.text.spi

Implementation interfaces consumed during ordinary module initialization. Discover with nupp.spi.load; the consumer chooses the unique highest priority. Omitted priority is zero. Importing these declarations loads no implementation.

Module contents

Types

TypeKindDescription
ProviderinterfaceConstruction of the canonical portable FIFO Buffer.

Types#

Providerinterface#

interface Provider ...

Construction of the canonical portable FIFO Buffer.

Return the shared Buffer type from nupp.text.internal.buffer. Implementations may use native objects or portable state, but all signatures and chaining results must retain that identity. Native pointer and serializer facilities are outside this portable contract.

Members

NameKindDescription
priorityfield
newmethodCreates an independent FIFO buffer; accepts a size hint or an options table.

priorityfield#

priority: integer?
@readonly

newmethod#

new: function(size: (integer | table)?, options: table?): SharedBuffer
@readonly

Creates an independent FIFO buffer; accepts a size hint or an options table.

Arguments
NameTypeDescription
size(integer | table)?
optionstable?
Returns
TypeDescription
SharedBuffer