DSLink SDK IO Utilities

Functions

getRandomSocketPort() → Future<int>

Generates a random socket port.

readStdinLines() → Stream<String>

Read each line from stdin.

readStdinText() → Stream<String>

Read raw text from stdin.

safeWriteAsBytes(File targetFile, List<int> content, { bool verifyJson: false }) → Future<File>

safeWriteAsString(File targetFile, String content, { bool verifyJson: false }) → Future<File>

Classes

HttpHelper

Helpers for working with HTTP