Revision: | 1114 |
Committed: | Wed Jan 22 14:08:57 2020 UTC (5 years, 8 months ago) by iritscen |
File size: | 503 byte(s) |
Log Message: | Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years. |
# | Content |
---|---|
1 | namespace Oni.Metadata |
2 | { |
3 | internal class MetaPadding : MetaArray |
4 | { |
5 | private readonly byte fillByte; |
6 | |
7 | public MetaPadding(int length) : this(length, 0) |
8 | { |
9 | } |
10 | |
11 | public MetaPadding(int length, byte fillByte) : base(MetaType.Byte, length) |
12 | { |
13 | this.fillByte = fillByte; |
14 | } |
15 | |
16 | public byte FillByte => fillByte; |
17 | |
18 | public override void Accept(IMetaTypeVisitor visitor) => visitor.VisitPadding(this); |
19 | } |
20 | } |