#MappedByteBuffer

java中使用MappedByteBuffer将 File类转ByteBuffer

publicstaticWavFileopenWavFile(Filefile)throwsIOException,WavFileException{FileChannelchannel=newFileInputStream(file).getChannel();MappedByteBuffermappedByteBu...