我已经实现了一个可以在我的电脑上运行的数据结构,现在我正试图将它移植到我的android应用程序中。我打开原始.dat资源并获得InputStream但我需要获得FileInputStream:FileInputStreamfip=(FileInputStream)context.getResources().openRawResource(fileID);FileChannelfc=fip.getChannel();longbytesSizeOfFileChannel=fc.size();MappedByteBuffermbb=fc.map(FileChannel.MapMode.R