roblox
Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.

The EncodingService service inherits from Instance.

Methods

Base64Decode(input: buffer): buffer

Parameters
NameType
inputbuffer
  • Thread safety: safe

Base64Encode(input: buffer): buffer

Parameters
NameType
inputbuffer
  • Thread safety: safe

CompressBuffer(input: buffer, algorithm: CompressionAlgorithm, compressionLevel: int = 1): buffer

Parameters
NameTypeDefault
inputbuffer
algorithmCompressionAlgorithm
compressionLevelint1
  • Thread safety: safe

ComputeBufferHash(input: buffer, algorithm: HashAlgorithm): buffer

Parameters
NameType
inputbuffer
algorithmHashAlgorithm
  • Thread safety: safe

ComputeStringHash(input: string, algorithm: HashAlgorithm): string

Parameters
NameType
inputstring
algorithmHashAlgorithm
  • Thread safety: safe

DecompressBuffer(input: buffer, algorithm: CompressionAlgorithm): buffer

Parameters
NameType
inputbuffer
algorithmCompressionAlgorithm
  • Thread safety: safe

GetDecompressedBufferSize(input: buffer, algorithm: CompressionAlgorithm): int?

Parameters
NameType
inputbuffer
algorithmCompressionAlgorithm
  • Thread safety: safe

External links