# EncodingService(ロブロックス クラス) > Service providing common encoding, hashing, and compression methods. - URL:https://roblox.minecraft-okinawa.com/reference/classes/EncodingService/ - 公式:https://create.roblox.com/docs/reference/engine/classes/EncodingService - 受け継いでいるクラス:Instance ## メソッド - `EncodingService:Base64Decode(input: buffer): buffer`:Decodes a Base64-encoded buffer into a new buffer containing the original binary data. - `EncodingService:Base64Encode(input: buffer): buffer`:Encodes binary data from a buffer into Base64 format, returning the result as a new buffer. - `EncodingService:CompressBuffer(input: buffer, algorithm: CompressionAlgorithm, compressionLevel: int): buffer`:Compresses binary buffer data using the specified algorithm and compression level. - `EncodingService:ComputeBufferHash(input: buffer, algorithm: HashAlgorithm): buffer`:Computes a cryptographic hash of a buffer's binary data using the specified algorithm. - `EncodingService:ComputeStringHash(input: string, algorithm: HashAlgorithm): string`:Computes a cryptographic hash of a string using the specified algorithm. - `EncodingService:DecompressBuffer(input: buffer, algorithm: CompressionAlgorithm): buffer`:Decompresses binary buffer data that was compressed with the specified algorithm. - `EncodingService:GetDecompressedBufferSize(input: buffer, algorithm: CompressionAlgorithm): int?`:Returns the expected decompressed size of a compressed buffer, or nil if the size is unknown or invalid. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)