/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { makeCodecFamily } from "../../codec/index.js";
import { makeOptionalFieldCodec as makeV0Codec } from "./optionalFieldCodecV0.js";
import { makeOptionalFieldCodec as makeV1Codec } from "./optionalFieldCodecV1.js";
export const makeOptionalFieldCodecFamily = (revisionTagCodec) => makeCodecFamily([
    [0, makeV0Codec(revisionTagCodec)],
    [1, makeV1Codec(revisionTagCodec)],
]);
//# sourceMappingURL=optionalFieldCodecs.js.map