forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Doublet.cs
32 lines (29 loc) · 801 Bytes
/
Doublet.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.Ndef
{
/// <summary>
/// Doublet containing the start and size of the message
/// </summary>
public class Doublet
{
/// <summary>
/// Constructor
/// </summary>
/// <param name="b1">Start</param>
/// <param name="b2">Size</param>
public Doublet(int b1, int b2)
{
Start = b1;
Size = b2;
}
/// <summary>
/// Start of the message
/// </summary>
public int Start { get; set; }
/// <summary>
/// Size of the message
/// </summary>
public int Size { get; set; }
}
}