Component/EEPROM

From OpenComputers: Rebooted
Revision as of 08:08, 24 August 2026 by imported>OCDoc Import (Imported from legacy OpenComputers documentation at ocdoc.cil.li)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Component: EEPROM

This component is provided by the EEPROM.

Component name: `eeprom`. Callbacks:

  • `get():string`
Get the currently stored byte array.
  • `set(data:string)`
Overwrite the currently stored byte array.
  • `getLabel():string`
Get the label of the EEPROM.
  • `setLabel(data:string)`
Set the label of the EEPROM.
  • `getSize():number`
Gets the maximum storage capacity of the EEPROM.
  • `getDataSize():number`
Gets the maximum data storage capacity of the EEPROM.
  • `getData():string`
Gets currently stored byte-array (usually the component address of the main boot device).
  • `setData(data:string)`
Overwrites currently stored byte-array with specified string.
  • `getChecksum():string`
Gets Checksum of data on EEPROM.
  • `makeReadonly(checksum:string):boolean`
Makes the EEPROM Read-only if it isn't. This process cannot be reversed.

Components Category Documentation
Components Core Components 3D Printer - Abstract Bus - Access Point - Chunkloader - Computer - Crafting - Data Card - Database - Debug - Drone - Drive - EEPROM - Experience - Filesystem - Generator - Geolyzer - GPU - Hologram - Internet - Inventory Controller - Leash - Microcontroller - Modem - Motion Sensor - Navigation - Net Splitter - Piston - Redstone - Redstone in Motion - Robot - Screen - Sign - Tank Controller - Tractor Beam - Transposer - Tunnel - World Sensor
Others Component Access - Signals
Cross-Mod Integration Applied Energistics