EncodingService returns incorrect types

Basically where it returns vector it supposed to instead return buffer as far as i understood
image
https://create.roblox.com/docs/reference/engine/classes/EncodingService#Base64Decode
https://create.roblox.com/docs/reference/engine/classes/EncodingService#Base64Encode
https://create.roblox.com/docs/reference/engine/classes/EncodingService#CompressBuffer
https://create.roblox.com/docs/reference/engine/classes/EncodingService#DecompressBuffer


Here it probably should return “number?” aswell
https://create.roblox.com/docs/reference/engine/classes/EncodingService#GetDecompressedBufferSize

Pure guessing as since service is not enabled yet.

Page URL: https://create.roblox.com/docs/reference/engine/classes/EncodingService

Whats an “ArrayView”? On live servers it only works with buffers?

ArrayViews are special references to arrays/vectors/buffers, likely an internal type

2 Likes

Hey Yarik, thanks a bunch, the buffer returns should be resolved at this point. AFAIK, we don’t yet support ? on types within the docs, but I’ll get with the team on whether it’s something we want to consider down the road. Thanks again!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.