FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
MagicFileEncoding/MagicFileEncoding/ByteOrderMaskInfo.cs at master · Jan5366x/MagicFileEncoding · GitHub
Jan5366x
/
MagicFileEncoding
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
3
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
MagicFileEncoding
/
MagicFileEncoding
/
ByteOrderMaskInfo.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (28 loc) · 934 Bytes
Breadcrumbs
MagicFileEncoding
/
MagicFileEncoding
/
ByteOrderMaskInfo.cs
Copy path
File metadata and controls
33 lines (28 loc) · 934 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
33
using
System
.
Text
;
namespace
MagicFileEncoding
;
public
class
ByteOrderMaskInfo
{
/// <summary>
/// The encoding which is represented by this byte order mask
/// </summary>
public
Encoding
Encoding
{
get
;
}
/// <summary>
/// The byte order mask signature
/// </summary>
public
byte
[
]
Signature
{
get
;
}
/// <summary>
/// ByteOrderMaskInfo Constructor
/// </summary>
/// <param name="encoding">The encoding which is represented by this byte order mask</param>
/// <param name="signature">The byte order mask signature</param>
public
ByteOrderMaskInfo
(
Encoding
encoding
,
params
byte
[
]
signature
)
{
Encoding
=
encoding
;
Signature
=
signature
;
}
/// <summary>
/// The byte order mask signature length
/// </summary>
/// <returns>Returns the BOM signature length</returns>
public
int
SignatureLength
(
)
=>
Signature
.
Length
;
}
Back
|
FazBrowse Home
|
New Git URL