Base64 File Encode

Read a file and encode its content to Base64 string

jadegate 6f93985 2 files · 3.7 KB Updated

File contents

Base64 File Encoder

Read a file and encode its content to Base64 string

When to Use

  • User wants to encode file
  • User wants to file to base64
  • Keywords: base64, encode, file, binary

Required Parameters

  • file_path (string): Path to file to encode

Output

  • base64_string (string): Base64 encoded content
  • original_size (number): Original file size
  • encoded_size (number): Encoded string length

Security

  • Sandbox level: strict
  • Max execution time: 30000ms
  • JadeGate verified: Yes (5-layer security check passed)

Execution Flow

Entry: read -> 5 steps -> Exit: ret_ok, ret_fail

jadegate/jadegate/tree/main/skills/base64-file-encode commit 6f93985194

Frequently asked questions

npx skillmds@latest add jadegate/base64-file-encode