- closeQuietly
Closes 'socket', ignoring any exceptions. Does nothing if 'socket' is null.
- deleteContents
Do not use. Use createTemporaryDirectory instead. Used by frameworks/base unit
tests to clean up a t
- readFileAsString
Returns the contents of 'path' as a string. The contents are assumed to be
UTF-8.
- canOpenReadOnly
Do not use. This is for System.loadLibrary use only. Checks whether path can be
opened read-only. Si
- close
Calls close(2) on 'fd'. Also resets the internal int to -1. Does nothing if 'fd'
is null or invalid.
- readFileAsByteArray
Returns the contents of 'path' as a byte array.
- setBlocking
Sets 'fd' to be blocking or non-blocking, according to the state of 'blocking'.