All files / src/Ice ToStringMode.js

100% Statements 14/14
100% Branches 1/1
100% Functions 0/0
100% Lines 14/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 1541x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x  
// Copyright (c) ZeroC, Inc.
 
import { defineEnum } from "./EnumBase.js";
 
/**
 *  The output mode for xxxToString methods such as identityToString and proxyToString. The actual encoding format for
 *  the string is the same for all modes: you don't need to specify an encoding format or mode when reading such a
 *  string.
 */
export const ToStringMode = defineEnum([
    ["Unicode", 0],
    ["ASCII", 1],
    ["Compat", 2],
]);