public static ChecksumType fromByte()

in tchannel-core/src/main/java/com/uber/tchannel/checksum/ChecksumType.java [36:49]


    public static ChecksumType fromByte(byte value) {
        switch (value) {
            case (byte) 0x00:
                return NoChecksum;
            case (byte) 0x01:
                return Adler32;
            case (byte) 0x02:
                return FarmhashFingerPrint32;
            case (byte) 0x03:
                return CRC32C;
            default:
                return null;
        }
    }