Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.plugin.common.ByteBufferContentMatcher Class Reference
Inheritance diagram for io.flutter.plugin.common.ByteBufferContentMatcher:

Public Member Functions

 ByteBufferContentMatcher (ByteBuffer expected)
 
boolean matches (ByteBuffer received)
 

Detailed Description

Definition at line 84 of file MethodChannelTest.java.

Constructor & Destructor Documentation

◆ ByteBufferContentMatcher()

io.flutter.plugin.common.ByteBufferContentMatcher.ByteBufferContentMatcher ( ByteBuffer  expected)
inline

Definition at line 87 of file MethodChannelTest.java.

87 {
88 this.expected = expected;
89 }

Member Function Documentation

◆ matches()

boolean io.flutter.plugin.common.ByteBufferContentMatcher.matches ( ByteBuffer  received)
inline

Definition at line 92 of file MethodChannelTest.java.

92 {
93 expected.rewind();
94 received.rewind();
95 return received.equals(expected);
96 }

The documentation for this class was generated from the following file: