Add optional endian argument for WriteBuffer/ReadBuffer#46661
Add optional endian argument for WriteBuffer/ReadBuffer#46661fluttergithubbot merged 2 commits intoflutter:masterfrom
endian argument for WriteBuffer/ReadBuffer#46661Conversation
Signed-off-by: sunbreak <sunbreak.wang@gmail.com>
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
|
@googlebot I signed it! |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
If you already have a way of doing this, why do you need this change in the framework? |
WriteBuffer/ReadBuffer are introduced for some |
Signed-off-by: sunbreak <sunbreak.wang@gmail.com>
|
Update the PR with an appended commit. |
Signed-off-by: sunbreak sunbreak.wang@gmail.com
Description
This PR add an optional
endianto WriteBuffer/ReadBuffer class for convenienceI'm a IoT developer, writing applications via BLE protocol as below
https://github.com/woodemi/notepad-core-flutter/blob/develop/lib/woodemi/WoodemiClient.dart#L455-L465
I find WriteBuffer/ReadBuffer in
package:flutter/foundationwith similiar methods, except for the endiansWith this PR merged
Related Issues
Tests
I added the following tests:
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.