def peek(self):
            result = win32pipe.PeekNamedPipe(self.__pipe_handle, 1024)
            if result:
                return result[1], 0
            else:
                return 0, 1
Returns the number of bytes available for reading without blocking.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_windows.py/PipeRedirectorClient.ClientChannel.peek