Spec-Zone.ru › LÖVE

ContainerType

Available since LÖVE 11.0
This enum is not supported in earlier versions.

Return type of various data-returning functions.

Constants

data
Return type is ByteData.
string
Return type is string.

Notes

Use data return type if you want to pass a reference to the data to another thread or LÖVE function, and use string return type if you want to use it immediately, like sending it to network.

See Also

  • love.data
  • love.data.compress
  • love.data.decompress
  • love.data.encode
  • love.data.decode
  • love.data.pack
  • love.filesystem.read
  • File:read

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ContainerType

Spec-Zone.ru

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