Creates a void codec that always sets the provided byte array when encoding and, when decoding, asserts that the next bytes match the provided byte array.
Creates a void codec that always sets the provided byte array when encoding and, when decoding, asserts that the next bytes match the provided byte array.