// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugin.common; import java.nio.ByteBuffer; /** * A {@link MessageCodec} using unencoded binary messages, represented as * {@link ByteBuffer}s. * *
This codec is guaranteed to be compatible with the corresponding * BinaryCodec * on the Dart side. These parts of the Flutter SDK are evolved synchronously.
* *On the Dart side, messages are represented using {@code ByteData}.
*/ public final class BinaryCodec implements MessageCodec