Spec-Zone.ru › Octave 5

36.4.3 Передача данных Base64 и двоичных данных

Некоторые каналы передачи данных не могут принимать двоичные данные. Принято кодировать двоичные данные в формате Base64 для передачи и декодировать данные при приёме.

s = base64_encode (x)

Кодировать двойную матрицу или массив x в строку формата Base64 s.

См. также: base64_decode.

x = base64_decode (s)
x = base64_decode (s, dims)

Декодировать двойную матрицу или массив x из закодированной в Base64 строки s.

Необязательный входной параметр dims должен быть вектором, содержащим размерности декодированного массива.

См. также: base64_encode.

© 1996–2022 The Octave Project Developers
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
https://docs.octave.org/v5.2.0/Base64-and-Binary-Data-Transmission.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API