All challenges
Multiple ChoiceIntermediate 30s

Go: io.Writer

The Write method takes:
Options
  1. 1A string, returning the count of characters
  2. 2An io.Reader, returning a stream plus error
  3. 3A file, returning a handle plus status
  4. 4A byte slice and returns bytes written + error

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle