48 lines
1.1 KiB
C#
Raw Normal View History

2020-01-11 17:56:12 +01:00
namespace Capnp
2019-06-12 21:56:55 +02:00
{
/// <summary>
/// Enumerates the list element categories which are defined by Cap'n Proto.
/// </summary>
public enum ListKind: byte
{
/// <summary>
/// List(Void)
/// </summary>
ListOfEmpty = 0,
/// <summary>
/// List(Bool)
/// </summary>
ListOfBits = 1,
/// <summary>
/// List(Int8) or List(UInt8)
/// </summary>
ListOfBytes = 2,
/// <summary>
/// List(Int16), List(UInt16), or List(Enum)
/// </summary>
ListOfShorts = 3,
/// <summary>
/// List(Int32), List(UInt32), or List(Float32)
/// </summary>
ListOfInts = 4,
/// <summary>
/// List(Int64), List(UInt64), or List(Float64)
/// </summary>
ListOfLongs = 5,
/// <summary>
/// A list of pointers
/// </summary>
ListOfPointers = 6,
/// <summary>
/// A list of fixed-size composites (i.e. structs)
/// </summary>
ListOfStructs = 7
}
2020-01-11 17:56:12 +01:00
}