docs.unity3d.com
    Show / Hide Table of Contents

    Class MessageParser

    Static class used to parse message part of the log message.

    Inheritance
    Object
    MessageParser
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Logging
    Syntax
    public static class MessageParser

    Methods

    FindNextParseStringSegment(in Byte*, in Int32, ref ParseSegment, out ParseSegment)

    Parses the UTF8 string and returns the argument if it was found

    Declaration
    public static MessageParser.ParseContextResult FindNextParseStringSegment(in byte *rawBuffer, in int rawBufferLength, ref ParseSegment currMsgSegment, out ParseSegment argSlot)
    Parameters
    Type Name Description
    Byte* rawBuffer

    UTF8 string pointer

    Int32 rawBufferLength

    UTF8 string length in bytes

    ParseSegment currMsgSegment

    Segment in the string to parse. Will be changed by the method

    ParseSegment argSlot

    Argument that was found

    Returns
    Type Description
    MessageParser.ParseContextResult

    Result of the parsing

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023