@ ReturnsMutableObject ( "Speed" ) @ SuppressFBWarnings ( "EI_EXPOSE_REP" ) @ Nullable public byte [ ] directGet ( ) { if ( isInMemory ( ) ) { _ensureCachedContentIsPresent ( ) ; return m_aCachedContent ; } return SimpleFileIO . getAllFileBytes ( m_aDFOS . getFile ( ) ) ; }
Returns the contents of the file as an array of bytes . If the contents of the file were not yet cached in memory they will be loaded from the disk storage and cached .