SBV
application/octet-stream
Magic Bytes
Offset: 0
46 49 4C 45
Superbase Database View (SBV) is a proprietary data format developed by Precision Software for use within the Superbase relational database management system. It is primarily utilized for storing database view definitions, facilitating the structured presentation and retrieval of records across distributed network environments or legacy workstation configurations. As a legacy format, it is considered safe due to its non-executable nature, although modern data environments typically favor standardized alternatives such as SQL.
Validation Code
How to validate .sbv files in Python
Python
def is_sbv(file_path: str) -> bool:
"""Check if file is a valid SBV by magic bytes."""
signature = bytes([0x46, 0x49, 0x4C, 0x45])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .sbv files in Node.js
Node.js
function isSBV(buffer: Buffer): boolean {
const signature = Buffer.from([0x46, 0x49, 0x4C, 0x45]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsSBV(data []byte) bool {
signature := []byte{0x46, 0x49, 0x4C, 0x45}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/sbv
curl https://filesignature.org/api/v1/sbv