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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.