You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
README Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
fd_file.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
fd_file.h Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
fd_file_test.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
random_access_file.h Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
random_access_file_test.h Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
random_access_file_utils.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
random_access_file_utils.h Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

README

A simple C++ wrapper for Unix file I/O.

This is intended to be lightweight and easy to use, similar to Java's
RandomAccessFile and related classes. The usual C++ idioms of RAII and "you
don't pay for what you don't use" apply.

In particular, the basic RandomAccessFile interface is kept small and simple so
it's trivial to add new implementations.

This code will not log, because it can't know whether that's appropriate in
your application.

This code will, in general, return -errno on failure. If an operation consisted
of multiple sub-operations, it will return the errno corresponding to the most
relevant operation.