FixWins.com
  • Csharp
  • Contact Us









0 Coding examples: Byte System Csharp code examples
  • Convert byte To Word
  • Reverse Byte Order
  • fill Bytes Little Endian
  • Convert Byte[] to short[] in memory order. Like Marshal buffer copy.
  • Copies the specified amount of bytes from source buffer to destination.
  • A byte[] extension method that determine if we are equal.
  • Calculate how many bytes is enough to hold the value.
  • Determines if the given is inclusively within the range of `0-9, A-F and a-f` .
  • Parse Byte Hex String
  • Parse Hex String Byte
  • Convert String To Bytes
  • Get Bytes UTF8 from String
  • Bytes To Hex String
  • Hex String To Bytes
  • Get Byte Count for String
  • String To Bytes
  • To Formatted Hex String with LINQ
  • To Hex String with LINQ
  • Bin To String
  • Transforms a into an hex dump formatted string
  • Returns the larger of two 8-bit unsigned integers.
  • Returns the smaller of two 8-bit unsigned integers.
  • Memory Copy
  • The return value is the high-order byte of the specified value.
  • The return value is the high-order double word of the specified value.
  • The return value is the high-order word of the specified value.
  • The return value is the low-order byte of the specified value.
  • The return value is the low-order word of the specified value.
  • Changes the value in the given position. Change bit value from low to high, or high to low. Returns the same byte, but with one bit changed.
  • Byte To Hex String
  • Make an integer putting in low 2-bytes and in high 2-bytes.
  • Make an short from 2-bytes.
  • Returns how many bytes are required to hold a certain number of bits
  • get a human readable file size in bytes abbreviation
  • Formats a byte number in different units
  • Size To Readable String
  • Reverse Bytes for Network
  • byte To Hex Str
  • This method decodes data in string for short.
  • Single Byte Hex
  • Two Byte Hex
  • Returns the specified 32-bit signed integer value as an array of Binary Coded Decimal format bytes.
  • Returns a 32-bit signed integer converted from bytes in a Binary Coded Decimal format byte array.
  • To Display Byte size
  • Compute Binary Hash Code
  • Converts string to an array of bytes, using specified Encoding.
  • String extension method which converts the input string to a byte array.
  • From Utf8 Bytes
  • Gets the number of bytes as a string.
  • Hex To Bytes
  • Converts the given input string to a byte array.
  • Hex To Byte Array
  • Converts a hexadecimal string to a byte array.
  • Converts the input string to a byte array and computes the hash.
  • Encodes the specified value, returning the result as a byte array.
  • Compares two byte[] arrays, element by element, and returns the number of elements common to both arrays.
  • Get Bytes Readable
  • Counts how many bytes the string will use, including the null terminator. Uses UTF8 encoding.
  • Hex Dump From Byte Array
  • Hex String From Byte Array
  • Write bytes, KB, MB, GB, TB message. 1 KB = 1024 Bytes 1 MB = 1024 KB = 1048576 Bytes 1 GB = 1024 MB = 1073741824 Bytes 1 TB = 1024 GB = 1099511627776 Bytes E.g. 100 will return "100 Bytes" 2048 will return "2.00 KB" 2500 will ret
  • Convert Strings To Byte Array Array
  • Converts string to byte[].
  • Converts byte[] to string.
  • Reads a 4 byte length prefixed ansi string from the given BinaryReader
  • Reads a 1 byte length prefixed ansi string from the given BinaryReader
  • String From Byte Array
  • From Utf8 Byte Array to String
  • From Byte Array to String
  • From Ascii Byte Array to String

Coding examples

0 Custom Type System
  • access level
  • Anonymous Types
  • AppDomain
  • as
  • Assembly
  • Attribute
  • Box Unbox
  • class
  • Constant
  • Constructor
  • delegate
  • dynamic type
  • Enum
  • Event
  • Exception
  • Extension Methods
  • Field
  • Finalizer
  • Generics
  • Indexer
  • Inheritance
  • Inner Type
  • interface
  • is
  • Lambda
  • Local Method
  • Method
  • Method Parameter
  • nameof
  • namespace
  • Object Initializer
  • Operator Overloading
  • overload
  • Partial
  • Polymorphism
  • Property
  • read only
  • static
  • struct
  • this
  • try catch finally
0 Data Structure Algorithm System
  • Factorial
  • Search
  • Stack
  • Tree
0 Database System
  • Connection
  • LINQ Query
  • ODBC
  • SQL Command
0 File IO System
  • Binary File
  • Directory
  • File
  • File Command
  • FileStream
  • GZip
  • Path
  • Permission
  • Serialization
  • String Reader Writer
0 Language Basics System
  • Array
  • boolean
  • char
  • Console
  • continue
  • Data Type Cast
  • Data Type Format
  • Date Time
  • decimal
  • default
  • do while
  • double
  • Float
  • for
  • for each
  • goto
  • if
  • int
  • Null Operator
  • Nullable
  • Number
  • Operator
  • Preprocessor
  • Random
  • ref
  • Regex
  • string
  • StringBuilder
  • switch
  • Tuple
  • Variable
  • while
0 LINQ System
  • Group By
  • IEnumerable
  • Projection
  • Query Array
  • Select
  • where
0 Network System
  • IP Address
  • Network Interface
  • URL
  • Web
0 Operating System System
  • Diagnostics
  • Environment
  • Process
  • Windows
0 Reflection System
  • Attribute
  • Member
0 Security System
  • Hash
  • MD5
  • Password
0 System System
  • Array Compare
  • Array Convert
  • Array Create
  • Array Dimension
  • Array Element
  • Array Element Add
  • Array Enumerate
  • Array Equal
  • Array Find
  • Array Index
  • Array Null Element
  • Array Operation
  • Array Search
  • Array Shift
  • Array Shuffle
  • Array Slice
  • Array Sort
  • Array Split
  • Array String
  • Attribute
  • Bit
  • Boolean
  • Byte
  • Byte Array
  • Char
  • Char Unicode
  • Converter
  • DateTime Calculate
  • DateTime Compare
  • DateTime Convert
  • DateTime Day
  • DateTime Diff
  • DateTime Format
  • DateTime Hour
  • DateTime Local
  • DateTime Minute
  • DateTime Month
  • DateTime Parse
  • DateTime Quarter
  • DateTime Second
  • DateTime Time
  • DateTime Timestamp
  • DateTime Timezone
  • DateTime Unix
  • DateTime UTC
  • DateTime Week
  • DateTime Year
  • DateTimeOffset
  • Decimal
  • Double
  • Enum
  • Exception
  • Hash
  • Hex
  • IComparable
  • Int32
  • Int64
  • Math Convert
  • Math Easing Function
  • Math Geometry
  • Math Number
  • Math Statistics
  • Math Vector
  • Nullable
  • Object
  • Random
  • String Algorithm
  • String ASCII
  • String Base
  • String Base32
  • String Base64
  • String Case
  • String Contain
  • String Convert
  • String Encode Decode
  • String Endian
  • String Escape
  • String Format
  • String HTML
  • String Join
  • String Match
  • String New Line
  • String Number
  • String Padding
  • String Parse
  • String Quote
  • String Repeat
  • String Replace
  • String Reverse
  • String Search
  • String Shorten
  • String Split
  • String Start End
  • String Strip
  • String SubString
  • TimeSpan
  • Tuple
  • Type
0 System.Collections System
  • ICollection
  • IDictionary
  • IEnumerable
0 System.Collections.Generic System
  • ICollection
  • IDictionary
  • IEnumerable
  • IList
  • ISet
  • List
0 System.Data System
  • DataTable
0 System.Drawing System
  • Color
  • Color Brightness
  • Color Calculation
  • Color Convert
  • Color HSV
  • Color RGB
  • Graphics
  • Image Convert
  • Image Effect
  • Image Operation
  • Image Size
  • JPEG
0 System.Drawing.Imaging System
  • Bitmap
0 System.Globalization System
  • Chinese
  • English
0 System.IO System
  • BinaryWriter
  • CSV File
  • DirectoryInfo
  • File Copy
  • File Name
  • File Path
  • File Size
  • File Time
  • FileStream
  • Hex
  • MemoryStream
  • Stream
  • StreamWriter
0 System.Net System
  • IP Address
0 System.Reflection System
  • Attribute
  • Constructor
  • ConstructorInfo
  • Enum
  • FieldInfo
  • Interface
  • Member
  • MethodInfo
  • Modifier
  • PropertyInfo
0 System.Security.Cryptography System
  • ASN
  • Certificate
  • CRC
  • DES
  • Encrypt Decrypt
  • Hash
  • HMACMD5
  • MD5
  • Password
  • SHA1
0 System.Text.RegularExpressions System
  • Match Number
  • Match String
0 System.Windows.Forms System
  • Dialog
0 System.Windows.Media.Imaging System
  • BitmapSource
0 System.Xml System
  • XML Attribute
  • XML Child
  • XML DataSet
  • XML Document
  • XML Element
  • XML File
  • XML Format
  • XML Namespace
  • XML Node
  • XML Reader
  • XML Schema
  • XML Serialization
  • XML String
  • XML Writer
0 Thread Asynchronous System
  • Mutex
  • Parallel
  • Producer Consumer
  • Synchronize
0 XML System
  • XML Document
  • XML LINQ
  • XML Serialization