Binary.ApproximateLength ประมาณความยาว (ขนาด) ของข้อมูลไบนารี่โดยไม่ต้องโหลดทั้งหมด
Syntax
binary_approximatelength(value as any) as any
Binary.ApproximateLength ประมาณความยาว (ขนาด) ของข้อมูลไบนารี่โดยไม่ต้องโหลดทั้งหมด
binary_approximatelength(value as any) as any
Binary.Buffer สร้างเวอร์ชัน Stable ของข้อมูล Binary ในหน่วยความจำ ข้อมูล Binary ที่ Buffered จะมีคุณสมบัติตายตัว ได้แก่ ความยาวคงที่และลำดับ Bytes สม่ำเสมอ ใช้เมื่อต้องการความเชื่อถือได้ของข้อมูล
Binary.Buffer(binary as nullable binary) as nullable binary
Binary.Combine รับรายการค่า Binary หลายตัวและรวมเข้าเป็นค่า Binary ตัวเดียว ลำดับของ Bytes ในผลลัพธ์จะตามลำดับของรายการที่ส่งเข้ามา
Binary.Combine(binaries as list) as binary
Binary.Compress บีบอัดข้อมูลไบนารี่โดยใช้อัลกอริทึมการบีบอัด (เช่น GZIP)
binary_compress(value as any) as any
Binary.Decompress ยกเลิกการบีบอัดข้อมูลไบนารี่ที่ถูกบีบอัดด้วย GZip หรือ Deflate กลับเป็นข้อมูลต้นฉบับ
= Binary.Decompress(binary, compressionType)
Binary.From แปลงค่าต่างๆ (เช่น ข้อความ, รายการ) เป็นข้อมูลไบนารี่
binary_from(value as any) as any
Binary.FromList สร้างข้อมูลไบนารี่จากรายการตัวเลข (bytes) โดยแต่ละตัวเลขแสดงถึงไบต์เดียว
binary_fromlist(value as any) as any
Binary.FromText แปลงสตริงข้อความเป็นข้อมูลไบนารี่ที่สามารถใช้กับการเข้ารหัส Base64 หรือ Hex ได้
= Binary.FromText(text, encoding)
Binary.InferContentType ระบุประเภทเนื้อหา (content type) ของข้อมูลไบนารี่ตามลายเซ็นไฟล์
binary_infercontenttype(value as any) as any
Binary.Length ตรวจสอบและคืนค่าจำนวน Bytes ในค่า Binary เป็นตัวเลข เช่น Binary ที่มี 5 Bytes จะคืนค่า 5
Binary.Length(binary as nullable binary) as nullable number
Binary.Range เลือกช่วงข้อมูลจากตำแหน่งเริ่มต้นและความยาวที่ระบุ
binary_range(value as any) as any
Binary.Split แยกข้อมูลไบนารี่ออกเป็นชิ้นเล็กๆ ตามลำดับที่ระบุ
binary_split(value as any) as any
Binary.ToList แปลงข้อมูลไบนารี่เป็นรายการของตัวเลข (bytes)
binary_tolist(value as any) as any
Binary.ToText แปลงข้อมูลไบนารี่เป็นข้อความโดยระบุวิธีการเข้ารหัส ใช้ได้ทั้ง Base64 และ Hex
= Binary.ToText(binary, encoding)
Binary.View สร้างมุมมองของข้อมูลไบนารี่ตามรูปแบบที่ระบุ
binary_view(value as any) as any
Binary.ViewError ส่งข้อผิดพลาดเมื่อไม่สามารถตีความข้อมูลไบนารี่ได้
binary_viewerror(value as any) as any
Binary.ViewFunction สร้างฟังก์ชันมุมมองสำหรับข้อมูลไบนารี่
binary_viewfunction(value as any) as any
BinaryFormat.7BitEncodedSignedInteger ใช้สำหรับการประมวลผล
binaryformat_7bitencodedsignedinteger(value as any) as any
BinaryFormat.7BitEncodedUnsignedInteger ใช้สำหรับการประมวลผล
binaryformat_7bitencodedunsignedinteger(value as any) as any
BinaryFormat.Binary กำหนดรูปแบบสำหรับการอ่านข้อมูลไบนารี่ดิบ
binaryformat_binary(value as any) as any
BinaryFormat.Byte กำหนดรูปแบบสำหรับการอ่านไบต์เดียว (0-255)
binaryformat_byte(value as any) as any
BinaryFormat.ByteOrder ระบุลำดับไบต์ (Big Endian หรือ Little Endian) สำหรับการอ่านข้อมูล
binaryformat_byteorder(value as any) as any
BinaryFormat.Choice สร้างทางเลือกหลายรูปแบบสำหรับการอ่านข้อมูล
binaryformat_choice(value as any) as any
BinaryFormat.Decimal กำหนดรูปแบบสำหรับการอ่านตัวเลขทศนิยม (floating-point)
binaryformat_decimal(value as any) as any
BinaryFormat.Double สร้าง Binary Format Specifier สำหรับอ่านเลขทศนิยมแบบ Double Precision (64-bit) จากไฟล์ Binary
BinaryFormat.Double as binary
BinaryFormat.Group จัดกลุ่มหลายรูปแบบเข้าด้วยกันเป็นบันทึก
binaryformat_group(value as any) as any
BinaryFormat.Length กำหนดรูปแบบสำหรับการอ่านข้อมูลที่มีความยาวตามที่ระบุ
binaryformat_length(value as any) as any
BinaryFormat.List สร้างรายการของรูปแบบเดียวกัน
binaryformat_list(value as any) as any
BinaryFormat.Null กำหนดรูปแบบสำหรับข้อมูลว่างหรือไม่มีข้อมูล
binaryformat_null(value as any) as any
BinaryFormat.Record สร้างบันทึกที่มีฟิลด์หลายตัว
binaryformat_record(value as any) as any
BinaryFormat.SignedInteger16 กำหนดรูปแบบสำหรับจำนวนเต็มมีเครื่องหมาย 16 บิต
binaryformat_signedinteger16(value as any) as any
BinaryFormat.SignedInteger32 กำหนดรูปแบบสำหรับจำนวนเต็มมีเครื่องหมาย 32 บิต
binaryformat_signedinteger32(value as any) as any
BinaryFormat.SignedInteger64 กำหนดรูปแบบสำหรับจำนวนเต็มมีเครื่องหมาย 64 บิต
binaryformat_signedinteger64(value as any) as any
BinaryFormat.Single กำหนดรูปแบบสำหรับการอ่านเลขทศนิยมความแม่นยำเดี่ยว
binaryformat_single(value as any) as any
BinaryFormat.Text สร้าง Binary Format Specifier สำหรับอ่านข้อความจากไฟล์ Binary โดยใช้การเข้ารหัสที่ระบุ
BinaryFormat.Text(length as number, optional encoding as nullable text) as binary
BinaryFormat.Transform ใช้ฟังก์ชันในการแปลงรูปแบบของข้อมูลไบนารี่
binaryformat_transform(value as any) as any
BinaryFormat.UnsignedInteger16 กำหนดรูปแบบสำหรับจำนวนเต็มไม่มีเครื่องหมาย 16 บิต
binaryformat_unsignedinteger16(value as any) as any
BinaryFormat.UnsignedInteger32 กำหนดรูปแบบสำหรับจำนวนเต็มไม่มีเครื่องหมาย 32 บิต
binaryformat_unsignedinteger32(value as any) as any
BinaryFormat.UnsignedInteger64 กำหนดรูปแบบสำหรับจำนวนเต็มไม่มีเครื่องหมาย 64 บิต
binaryformat_unsignedinteger64(value as any) as any