All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deephaven.server.util.PassthroughInputStreamMarshaller Maven / Gradle / Ivy

The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.server.util;

import io.grpc.MethodDescriptor;

import java.io.InputStream;

public enum PassthroughInputStreamMarshaller implements MethodDescriptor.Marshaller {
    INSTANCE;

    @Override
    public InputStream stream(final InputStream inputStream) {
        return inputStream;
    }

    @Override
    public InputStream parse(final InputStream inputStream) {
        return inputStream;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy