mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 02:42:33 +00:00
java: fix Util.storeBytes
This commit is contained in:
parent
7ab355f4eb
commit
a32d980d48
@ -90,7 +90,7 @@ public class Util {
|
||||
int bytes_to_copy = Math.min(value.length, len);
|
||||
System.arraycopy(value, 0, buffer, offset, bytes_to_copy);
|
||||
for (int i = bytes_to_copy; i < len ; i++){
|
||||
buffer[i] = 0;
|
||||
buffer[offset + i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user