Explicit encoding for I/O