Skip to content

Encoding ​

Inherits Instance.

A service: the global Encoding is the game's one Encoding.

Methods ​

  • Base64Decode(input: buffer | string): buffer
  • Base64Encode(input: buffer | string): buffer
  • CompressBuffer(input: buffer | string, algorithm: EnumCompressionAlgorithm?, level: number?): buffer
  • ComputeBufferHash(input: buffer | string, algorithm: EnumHashAlgorithm?): buffer
  • DecompressBuffer(input: buffer | string, algorithm: EnumCompressionAlgorithm?): buffer

Inherited ​

From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.

Apache License 2.0