Functions

f
encodeWord(content: string | Uint8Array): EncodedWord

Encodes a word (string or bytes) into MikroTik API format

Type Aliases

T
DecodedWord = { word: string; bytesRead: number; }

Decoded word value with metadata

T
EncodedWord = Uint8Array

Encoded word as a Uint8Array