-
-
Save parzibyte/a26773dc0ca75a0e9c8d2747ade4bf43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Escribiendo..."); | |
int chunkSize = 1; | |
int index = 0; | |
while (index < datos.length) { | |
var chunk = datos.skip(index).take(chunkSize); | |
await caracteristica.write(chunk.toList()); | |
index += chunkSize; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment