Hi everyone,
i'm trying to porting some javascript (react) code into B4A, but the data.slice(from, to) function is used to create blocks of 512bytes from a larger file.
There isn't enough information here. If the file is not too large then you can read it completely with File.ReadBytes, add the bytes to B4XBytesBuilder and use SubArray2 to slice it.
There isn't enough information here. If the file is not too large then you can read it completely with File.ReadBytes, add the bytes to B4XBytesBuilder and use SubArray2 to slice it.