Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

Read

static func Read(input: InputStream) -> Task<Result<Localizer, LocalizationError>>

Declaring type: JsonLocalizerProvider
Module: Neo.Localization
Assembly: Neo.Localization.dll
Source file: JsonLocalizerProvider.rvn

Reads a UTF-8 catalogue from the current stream position through EOF; leaves the stream open. Loading buffers at most 65536 UTF-8 bytes. The resulting catalogue does not retain the stream.

Parameters

Name Type Description
input InputStream

Return value

Task<Result<Localizer, LocalizationError>>