示例#1
0
    public static RawMessage ReadFromWithoutHeader(Stream buffer)
    {
        var header  = RawMessageHeader.From(0, 0, buffer.Length);
        var message = new RawMessage(header, header.Length);

        message.PutRemaining(buffer);
        return(message);
    }